blob: df2a48907ee6134dd0c5c94445606ae9444a26c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
}
|