[arch-commits] Commit in zn_poly/repos (2 files)

Antonio Rojas arojas at archlinux.org
Mon Apr 13 16:00:53 UTC 2020


    Date: Monday, April 13, 2020 @ 16:00:50
  Author: arojas
Revision: 613685

archrelease: copy trunk to community-testing-x86_64

Added:
  zn_poly/repos/community-testing-x86_64/
  zn_poly/repos/community-testing-x86_64/PKGBUILD
    (from rev 613684, zn_poly/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: zn_poly/repos/community-testing-x86_64/PKGBUILD (from rev 613684, zn_poly/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-04-13 16:00:50 UTC (rev 613685)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=zn_poly
+pkgver=0.9.2
+pkgrel=2
+pkgdesc="Polynomial arithmetic over Z/nZ"
+arch=(x86_64)
+url="https://gitlab.com/sagemath/zn_poly/"
+license=(GPL)
+depends=(gmp)
+makedepends=(python)
+source=("https://gitlab.com/sagemath/zn_poly/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('6b4bb9f931d7ccc4cd5727faad87fbc3eed2e6a91cbd7f7c32138f6cfde39c6b')
+
+build() {
+  cd $pkgname-$pkgver
+  python makemakefile.py --prefix=/usr --cflags="$CFLAGS -fPIC" --cxxflags="$CXXFLAGS" --ldflags="$LDFLAGS" > makefile
+  make
+  make libzn_poly.so
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python makemakefile.py --prefix="$pkgdir"/usr > makefile
+  make install
+# Install shared library
+  cp -P libzn_poly*.so* "$pkgdir"/usr/lib
+}


More information about the arch-commits mailing list