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

Antonio Rojas arojas at archlinux.org
Wed May 30 22:02:11 UTC 2018


    Date: Wednesday, May 30, 2018 @ 22:02:11
  Author: arojas
Revision: 333548

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-30 22:01:45 UTC (rev 333547)
+++ PKGBUILD	2018-05-30 22:02:11 UTC (rev 333548)
@@ -1,33 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
-
-pkgname=zn_poly
-pkgver=0.9
-pkgrel=3
-pkgdesc="Polynomial arithmetic over Z/nZ"
-arch=('i686' '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")
-md5sums=('0eeaae2524addf558de94bfbc914d22e')
-
-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
-
-  mkdir -p "$pkgdir"/usr/{include/zn_poly,lib}
-  cp libzn_poly.so "$pkgdir"/usr/lib
-  cp include/*.h "$pkgdir"/usr/include/zn_poly
-}
-

Copied: zn_poly/repos/community-x86_64/PKGBUILD (from rev 333547, zn_poly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-30 22:02:11 UTC (rev 333548)
@@ -0,0 +1,32 @@
+# $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
+}



More information about the arch-commits mailing list