PKGBUILDs/community/gf2x/PKGBUILD

32 lines
713 B
Bash
Raw Normal View History

2015-02-21 18:11:54 +00:00
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - removed sse2 configure/cflags options
pkgname=gf2x
2019-12-10 19:21:39 +00:00
pkgver=1.3.0
pkgrel=1
2015-02-21 18:11:54 +00:00
pkgdesc="A library for multiplying polynomials over the binary field"
2018-11-13 19:38:59 +00:00
arch=(x86_64)
2019-12-10 19:21:39 +00:00
url="https://gforge.inria.fr/projects/gf2x/"
2015-11-02 13:17:14 +00:00
license=(GPL LGPL)
depends=(glibc)
2019-12-10 19:21:39 +00:00
source=("https://gforge.inria.fr/frs/download.php/38243/gf2x-$pkgver.tar.gz")
sha256sums=('9472cd651972a1de38e3c4c47697a86e0ecf19d7d33454d4bc2a62bc85841b59')
2015-02-21 18:11:54 +00:00
build() {
cd $pkgname-$pkgver
2015-11-02 13:17:14 +00:00
./configure --prefix=/usr --disable-pclmul
2015-02-21 18:11:54 +00:00
make
}
check() {
cd $pkgname-$pkgver
make -k check
}
package() {
cd $pkgname-$pkgver
make prefix="$pkgdir"/usr install
}