# $Id: PKGBUILD 324296 2018-05-18 19:04:31Z arojas $
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=fplll
pkgver=5.2.1
pkgrel=1
pkgdesc="Lattice algorithms using floating-point arithmetic"
arch=(x86_64)
url="https://github.com/fplll/fplll"
license=(LGPL)
depends=(mpfr qd)
conflicts=(libfplll)
provides=(libfplll)
replaces=(libfplll)
source=("https://github.com/fplll/fplll/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('e38e3f8f14d5dbf46aab66d6c12f5973d4b12b72832161ed1491e8e925de4816')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

