proper libmpc PKGBUILD

This commit is contained in:
philm 2010-11-21 11:37:33 +00:00
parent 392e441454
commit cad3382a76

View File

@ -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
}
}