community/fplll to 5.3.1-1

This commit is contained in:
Kevin Mihelich 2019-12-14 20:10:20 +00:00
parent 985bdc4435
commit 4c0d61efdf

View file

@ -4,8 +4,8 @@
# - explicitly link v5/v6 with libatomic # - explicitly link v5/v6 with libatomic
pkgname=fplll pkgname=fplll
pkgver=5.3.0 pkgver=5.3.1
pkgrel=2 pkgrel=1
pkgdesc="Lattice algorithms using floating-point arithmetic" pkgdesc="Lattice algorithms using floating-point arithmetic"
arch=(x86_64) arch=(x86_64)
url="https://github.com/fplll/fplll" url="https://github.com/fplll/fplll"
@ -15,11 +15,10 @@ conflicts=(libfplll)
provides=(libfplll) provides=(libfplll)
replaces=(libfplll) replaces=(libfplll)
source=("https://github.com/fplll/fplll/releases/download/$pkgver/$pkgname-$pkgver.tar.gz") source=("https://github.com/fplll/fplll/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('67a579842f5dabf9b3968b0c12af1ee808c5bfb7bc611fe4c2bba9ca00af1067') sha256sums=('bf7e7e667173b5655cb989ec6a55c07af057d9011572f85eb53fbf93f4e2d239')
build() { build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
export LDFLAGS+=' -lpthread' # Fix underlinking
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LIBS="-latomic" [[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LIBS="-latomic"
LIBS=$LIBS ./configure --prefix=/usr LIBS=$LIBS ./configure --prefix=/usr
make make