[arch-commits] Commit in gf2x/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Tue Dec 10 15:14:40 UTC 2019
Date: Tuesday, December 10, 2019 @ 15:14:39
Author: arojas
Revision: 536519
archrelease: copy trunk to community-staging-x86_64
Added:
gf2x/repos/community-staging-x86_64/
gf2x/repos/community-staging-x86_64/PKGBUILD
(from rev 536518, gf2x/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: gf2x/repos/community-staging-x86_64/PKGBUILD (from rev 536518, gf2x/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-12-10 15:14:39 UTC (rev 536519)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=gf2x
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="A library for multiplying polynomials over the binary field"
+arch=(x86_64)
+url="https://gforge.inria.fr/projects/gf2x/"
+license=(GPL LGPL)
+depends=(glibc)
+source=("https://gforge.inria.fr/frs/download.php/38243/gf2x-$pkgver.tar.gz")
+sha256sums=('9472cd651972a1de38e3c4c47697a86e0ecf19d7d33454d4bc2a62bc85841b59')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --enable-sse2 --disable-pclmul CFLAGS="$CFLAGS -msse2"
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make -k check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make prefix="$pkgdir"/usr install
+}
More information about the arch-commits
mailing list