diff options
Diffstat (limited to 'extra/mpdecimal')
-rw-r--r-- | extra/mpdecimal/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/mpdecimal/PKGBUILD b/extra/mpdecimal/PKGBUILD new file mode 100644 index 000000000..8d5e6118c --- /dev/null +++ b/extra/mpdecimal/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 207142 2014-03-07 15:54:55Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=mpdecimal +pkgver=2.4.0 +pkgrel=1 +pkgdesc="Package for correctly-rounded arbitrary precision decimal floating point arithmetic" +arch=('i686' 'x86_64') +url="http://www.bytereef.org/mpdecimal/index.html" +license=('custom') +depends=('glibc') +source=(http://www.bytereef.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz) + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/$pkgname/LICENSE.txt" +} + +sha512sums=('9528274c77f874ea75652f08e64bb76ecdaa6c2111900809bc3ce58b4740d8b313bf41283cfb41b525a7d2df7d86cb7d9415b0abb2ce58a209df9d54e2ab0f75') |