[arch-commits] Commit in ntl/repos (2 files)

Antonio Rojas arojas at archlinux.org
Fri Aug 17 19:29:40 UTC 2018


    Date: Friday, August 17, 2018 @ 19:29:40
  Author: arojas
Revision: 372536

archrelease: copy trunk to community-staging-x86_64

Added:
  ntl/repos/community-staging-x86_64/
  ntl/repos/community-staging-x86_64/PKGBUILD
    (from rev 372535, ntl/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: ntl/repos/community-staging-x86_64/PKGBUILD (from rev 372535, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-17 19:29:40 UTC (rev 372536)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=11.3.0
+pkgrel=1
+pkgdesc="A Library for doing Number Theory"
+arch=(x86_64)
+url="http://www.shoup.net/ntl/"
+license=(LGPL)
+depends=(gf2x gmp)
+makedepends=()
+source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('3ae0d3647e5d52bc0907e1f4cb4a958460ee8e5b3c9862c1a4b8e9f0f75891dd')
+
+build() {
+  cd $pkgname-$pkgver/src
+  ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off TUNE=generic
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver/src
+  make -k check
+}
+
+package() {
+  cd $pkgname-$pkgver/src
+  make PREFIX="$pkgdir/usr" install
+}



More information about the arch-commits mailing list