mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 06:17:46 +08:00
proper libmpc PKGBUILD
This commit is contained in:
parent
392e441454
commit
cad3382a76
@ -6,7 +6,7 @@
|
||||
|
||||
pkgname=libmpc
|
||||
pkgver=0.8.2
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.multiprecision.org"
|
||||
@ -21,9 +21,13 @@ build() {
|
||||
cd $srcdir/mpc-$pkgver
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/mpc-$pkgver
|
||||
make DESTDIR=$pkgdir/ install
|
||||
|
||||
make check
|
||||
|
||||
mv -f $pkgdir/usr/share/info/{mpc,libmpc}.info
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user