[arch-commits] Commit in zn_poly/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Oct 2 21:45:22 UTC 2018


    Date: Tuesday, October 2, 2018 @ 21:45:21
  Author: arojas
Revision: 389097

archrelease: copy trunk to community-x86_64

Added:
  zn_poly/repos/community-x86_64/PKGBUILD
    (from rev 389096, zn_poly/trunk/PKGBUILD)
Deleted:
  zn_poly/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   59 +++++++++++++++++++++++++++--------------------------------
 1 file changed, 27 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-02 21:44:52 UTC (rev 389096)
+++ PKGBUILD	2018-10-02 21:45:21 UTC (rev 389097)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
-
-pkgname=zn_poly
-pkgver=0.9
-pkgrel=4
-pkgdesc="Polynomial arithmetic over Z/nZ"
-arch=(x86_64)
-url="http://web.maths.unsw.edu.au/~davidharvey/code/zn_poly/"
-license=(GPL)
-depends=(gmp)
-makedepends=(python2)
-source=("http://web.maths.unsw.edu.au/~davidharvey/code/zn_poly/releases/$pkgname-$pkgver.tar.gz")
-sha256sums=('a1a085897c68889720ad27e98d2b54753397bd5a85433126327bc4b35511b4cf')
-
-build() {
-  cd $pkgname-$pkgver
-
-  python2 makemakefile.py --cflags="$CFLAGS -fPIC" --prefix=/usr --ntl-prefix=/usr --gmp-prefix=/usr --flint-prefix=/usr > makefile
-  make
-
-# build shared library
-  make libzn_poly.so
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  install -Dm644 libzn_poly.so -t "$pkgdir"/usr/lib
-  install -Dm644 include/*.h -t "$pkgdir"/usr/include/zn_poly
-}

Copied: zn_poly/repos/community-x86_64/PKGBUILD (from rev 389096, zn_poly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-02 21:45:21 UTC (rev 389097)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=zn_poly
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="Polynomial arithmetic over Z/nZ"
+arch=(x86_64)
+url="http://web.maths.unsw.edu.au/~davidharvey/code/zn_poly/"
+license=(GPL)
+depends=(gmp)
+makedepends=(python2)
+source=("http://mirrors.mit.edu/sage/spkg/upstream/zn_poly/$pkgname-$pkgver.tar.gz")
+sha256sums=('d472965ddee240c701ae5822897a2a13eb8a4184864edabcb6c5b0ac34b0f74e')
+
+build() {
+  python2 makemakefile.py --prefix=/usr --cflags="$CFLAGS -fPIC" --cxxflags="$CXXFLAGS" --ldflags="$LDFLAGS" > makefile
+  make
+  make libzn_poly.so
+}
+
+package() {
+  python2 makemakefile.py --prefix="$pkgdir"/usr > makefile
+  make install
+# Install shared library
+  cp libzn_poly.so "$pkgdir"/usr/lib
+}



More information about the arch-commits mailing list