git subrepo clone https://aur.archlinux.org/mpir
subrepo: subdir: "mpir" merged: "0742a1a" upstream: origin: "https://aur.archlinux.org/mpir" branch: "master" commit: "0742a1a" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
This commit is contained in:
parent
b7f212f567
commit
8b56a47faa
16
mpir/.SRCINFO
Normal file
16
mpir/.SRCINFO
Normal file
@ -0,0 +1,16 @@
|
||||
pkgbase = mpir
|
||||
pkgdesc = Library for multiple precision integers and rationals
|
||||
pkgver = 3.0.0
|
||||
pkgrel = 1
|
||||
url = http://www.mpir.org/
|
||||
install = mpir.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = LGPL
|
||||
makedepends = yasm
|
||||
depends = gcc-libs
|
||||
source = http://www.mpir.org/mpir-3.0.0.tar.bz2
|
||||
sha256sums = 52f63459cf3f9478859de29e00357f004050ead70b45913f2c2269d9708675bb
|
||||
|
||||
pkgname = mpir
|
||||
|
12
mpir/.gitrepo
Normal file
12
mpir/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/mpir
|
||||
branch = master
|
||||
commit = 0742a1a80a0084be5d98e6f6b7f77b5d4431ce41
|
||||
parent = b7f212f5673d192dee3e04bb5be8f6e6a6e79ddd
|
||||
method = merge
|
||||
cmdver = 0.4.1
|
37
mpir/PKGBUILD
Normal file
37
mpir/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Maintainer: Joe Neeman <joeneeman@gmail.com>
|
||||
# Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
|
||||
# Contributor: Alessandro "jakedust" Andrioni <jakedust@gmail.com>
|
||||
pkgname=mpir
|
||||
pkgver=3.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Library for multiple precision integers and rationals"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.mpir.org/"
|
||||
license=('LGPL')
|
||||
depends=('gcc-libs')
|
||||
makedepends=('yasm')
|
||||
source=(http://www.mpir.org/mpir-$pkgver.tar.bz2)
|
||||
sha256sums=('52f63459cf3f9478859de29e00357f004050ead70b45913f2c2269d9708675bb')
|
||||
install=mpir.install
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/mpir-$pkgver"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/mpir-$pkgver"
|
||||
[[ "$CARCH" == "i686" ]] && export ABI=32
|
||||
./configure --prefix=/usr --enable-cxx
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/mpir-$pkgver"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/mpir-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
20
mpir/mpir.install
Normal file
20
mpir/mpir.install
Normal file
@ -0,0 +1,20 @@
|
||||
infodir=usr/share/info
|
||||
filelist=(mpir)
|
||||
|
||||
post_install() {
|
||||
[[ -x usr/bin/install-info ]] || return 0
|
||||
for file in "${filelist[@]}"; do
|
||||
install-info "$infodir/$file.info.gz" "$infodir/dir" 2> /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install "$1"
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
[[ -x usr/bin/install-info ]] || return 0
|
||||
for file in "${filelist[@]}"; do
|
||||
install-info --delete "$infodir/$file.info.gz" "$infodir/dir" 2> /dev/null
|
||||
done
|
||||
}
|
Loading…
Reference in New Issue
Block a user