# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=libfplll
pkgver=4.0.4
pkgrel=1
pkgdesc="Implementations of the floating-point LLL reduction algorithm for euclidean lattices"
arch=('i686' 'x86_64')
url="https://github.com/dstehle/fplll"
license=('LGPL')
depends=('mpfr')
#source=("http://perso.ens-lyon.fr/damien.stehle/fplll/$pkgname-$pkgver.tar.gz")
source=("http://www.sagemath.org/packages/upstream/libfplll/$pkgname-$pkgver.tar.bz2")
md5sums=('db4b1aa57ff3068992d4ea2ab5371a9e')

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

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

