Date: Saturday, February 28, 2015 @ 12:14:27 Author: arojas Revision: 128407
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: flint/repos/community-staging-i686/ flint/repos/community-staging-i686/PKGBUILD (from rev 128406, flint/trunk/PKGBUILD) flint/repos/community-staging-x86_64/ flint/repos/community-staging-x86_64/PKGBUILD (from rev 128406, flint/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) Copied: flint/repos/community-staging-i686/PKGBUILD (from rev 128406, flint/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-02-28 11:14:27 UTC (rev 128407) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Rémy Oudompheng <oudom...@clipper.ens.fr> +# Contributor: Alessandro "jakedust" Andrioni <jaked...@gmail.com> + +pkgname=flint +pkgver=2.4.5 +pkgrel=2 +pkgdesc="A C library for doing number theory" +arch=(i686 x86_64) +url="http://www.flintlib.org" +license=(GPL) +depends=(mpfr ntl) +source=("http://www.flintlib.org/flint-$pkgver.tar.gz") +md5sums=('6504b9deabeafb9313e57153a1730b33') + +prepare() { + cd $pkgname-$pkgver + sed -i.orig 's,.*NTL/g_lip.h,// &,' interfaces/NTL-interface.cpp +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Copied: flint/repos/community-staging-x86_64/PKGBUILD (from rev 128406, flint/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-02-28 11:14:27 UTC (rev 128407) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Rémy Oudompheng <oudom...@clipper.ens.fr> +# Contributor: Alessandro "jakedust" Andrioni <jaked...@gmail.com> + +pkgname=flint +pkgver=2.4.5 +pkgrel=2 +pkgdesc="A C library for doing number theory" +arch=(i686 x86_64) +url="http://www.flintlib.org" +license=(GPL) +depends=(mpfr ntl) +source=("http://www.flintlib.org/flint-$pkgver.tar.gz") +md5sums=('6504b9deabeafb9313e57153a1730b33') + +prepare() { + cd $pkgname-$pkgver + sed -i.orig 's,.*NTL/g_lip.h,// &,' interfaces/NTL-interface.cpp +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}