PKGBUILDs/community/fplll/PKGBUILD

28 lines
713 B
Bash
Raw Normal View History

2019-11-25 14:52:29 +00:00
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - explicitly link v5/v6 with libatomic
pkgname=fplll
2020-06-29 17:35:39 +00:00
pkgver=5.3.3
2019-12-14 20:10:20 +00:00
pkgrel=1
2019-11-25 14:52:29 +00:00
pkgdesc="Lattice algorithms using floating-point arithmetic"
arch=(x86_64)
url="https://github.com/fplll/fplll"
license=(LGPL)
depends=(mpfr qd)
source=("https://github.com/fplll/fplll/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
2020-06-29 17:35:39 +00:00
sha256sums=('5e7c46c30623795feeac19cf607583b7c82b0490ceb91498f0f712789be20ccd')
2019-11-25 14:52:29 +00:00
build() {
cd $pkgname-$pkgver
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LIBS="-latomic"
LIBS=$LIBS ./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}