Date: Friday, March 25, 2016 @ 21:13:46 Author: arojas Revision: 168384
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: ntl/repos/community-staging-i686/ ntl/repos/community-staging-i686/PKGBUILD (from rev 168383, ntl/trunk/PKGBUILD) ntl/repos/community-staging-x86_64/ ntl/repos/community-staging-x86_64/PKGBUILD (from rev 168383, ntl/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) Copied: ntl/repos/community-staging-i686/PKGBUILD (from rev 168383, ntl/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-03-25 20:13:46 UTC (rev 168384) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Brad Conte <brad AT bradconte.com> + +pkgname=ntl +pkgver=9.7.0 +pkgrel=1 +pkgdesc="A Library for doing Number Theory" +arch=(i686 x86_64) +url="http://www.shoup.net/ntl/" +license=(GPL) +depends=(gf2x gmp) +makedepends=() +source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('02f6076903f482d4bf15f62fb7ee260f') + +build() { + cd $pkgname-$pkgver/src + ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off + make +} + +check() { + cd $pkgname-$pkgver/src + make -k check +} + +package() { + cd $pkgname-$pkgver/src + make PREFIX="$pkgdir/usr" install +} Copied: ntl/repos/community-staging-x86_64/PKGBUILD (from rev 168383, ntl/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-03-25 20:13:46 UTC (rev 168384) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Brad Conte <brad AT bradconte.com> + +pkgname=ntl +pkgver=9.7.0 +pkgrel=1 +pkgdesc="A Library for doing Number Theory" +arch=(i686 x86_64) +url="http://www.shoup.net/ntl/" +license=(GPL) +depends=(gf2x gmp) +makedepends=() +source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('02f6076903f482d4bf15f62fb7ee260f') + +build() { + cd $pkgname-$pkgver/src + ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off + make +} + +check() { + cd $pkgname-$pkgver/src + make -k check +} + +package() { + cd $pkgname-$pkgver/src + make PREFIX="$pkgdir/usr" install +}