summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Prost-Boucle2015-06-24 08:23:24 +0200
committerAdrien Prost-Boucle2015-06-24 08:23:24 +0200
commit794a2c57c6e6fea6e897a9dcfe05cc426826d264 (patch)
treefdaf305d9d3ccd80b24145a3aca9a934f30463d9
downloadaur-fplll-git.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD37
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..596951679f4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = fplll-git
+ pkgdesc = Implementations of the floating-point LLL reduction algorithm for euclidean lattices
+ pkgver = 4.0.5
+ pkgrel = 1
+ url = http://perso.ens-lyon.fr/damien.stehle/fplll/
+ arch = any
+ license = LGPL
+ depends = gmp>=4.2.0
+ depends = mpfr>=2.3.0
+ provides = fplll libfplll
+ conflicts = fplll libfplll
+ source = git+https://github.com/dstehle/fplll.git
+ md5sums = SKIP
+
+pkgname = fplll-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..df2a48907ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+
+pkgname=fplll-git
+pkgver=4.0.5
+pkgrel=1
+
+pkgdesc="Implementations of the floating-point LLL reduction algorithm for euclidean lattices"
+arch=('any')
+url="http://perso.ens-lyon.fr/damien.stehle/fplll/"
+license=('LGPL')
+
+depends=('gmp>=4.2.0' 'mpfr>=2.3.0')
+provides=("fplll libfplll")
+conflicts=('fplll libfplll')
+
+source=('git+https://github.com/dstehle/fplll.git')
+md5sums=('SKIP')
+
+_gitname='fplll'
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ # Get the version from configure.ac
+ sed -n -e 's/AC_INIT(libfplll,\s*\(4.0.5\s*\))/\1/p' configure.ac
+}
+
+build() {
+ cd "$srcdir/$_gitname"
+ autoreconf -vi
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ make DESTDIR="$pkgdir" install
+}
+