[arch-commits] Commit in ntl/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Oct 20 16:40:11 UTC 2018
Date: Saturday, October 20, 2018 @ 16:40:11
Author: arojas
Revision: 398092
Update to 11.3.1
Modified:
ntl/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-20 14:46:27 UTC (rev 398091)
+++ PKGBUILD 2018-10-20 16:40:11 UTC (rev 398092)
@@ -2,8 +2,8 @@
# Contributor: Brad Conte <brad AT bradconte.com>
pkgname=ntl
-pkgver=11.3.0
-pkgrel=3
+pkgver=11.3.1
+pkgrel=1
pkgdesc="A Library for doing Number Theory"
arch=(x86_64)
url="http://www.shoup.net/ntl/"
@@ -11,12 +11,17 @@
depends=(gf2x gmp)
makedepends=()
source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('3ae0d3647e5d52bc0907e1f4cb4a958460ee8e5b3c9862c1a4b8e9f0f75891dd')
+sha256sums=('fa1f10a4b4dc50ba142a1e9ef662425cf888989cbd1c77a99171042d45da4121')
+prepare() {
+ cd $pkgname-$pkgver/src
+ rm -r libtool-origin
+}
+
build() {
cd $pkgname-$pkgver/src
./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off TUNE=x86 \
- LIBTOOL=libtool CXXFLAGS="${CXXFLAGS}" LDFLAGS=${LDFLAGS} LDLIBS="-lpthread"
+ LIBTOOL=libtool CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
make
}
More information about the arch-commits
mailing list