mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
27 lines
711 B
Bash
27 lines
711 B
Bash
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - explicitly link v5/v6 with libatomic
|
|
|
|
pkgname=fplll
|
|
pkgver=5.4.1
|
|
pkgrel=1
|
|
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)
|
|
sha256sums=('7bd887957173aa592091772c1c36f6aa606b3b2ace0d14e2c26c7463dcf2deb7')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LIBS="-latomic"
|
|
LIBS=$LIBS ./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|