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

Antonio Rojas arojas at archlinux.org
Wed Dec 20 18:31:34 UTC 2017


    Date: Wednesday, December 20, 2017 @ 18:31:33
  Author: arojas
Revision: 275044

archrelease: copy trunk to community-testing-x86_64

Added:
  libgap/repos/community-testing-x86_64/
  libgap/repos/community-testing-x86_64/PKGBUILD
    (from rev 275043, libgap/trunk/PKGBUILD)

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

Copied: libgap/repos/community-testing-x86_64/PKGBUILD (from rev 275043, libgap/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-12-20 18:31:33 UTC (rev 275044)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Lukas Fleischer
+
+pkgname=libgap
+pkgver=4.8.6
+pkgrel=5
+pkgdesc="A C library version of the GAP kernel"
+arch=(x86_64)
+url="https://bitbucket.org/vbraun/libgap"
+license=(GPL)
+depends=(gap)
+makedepends=(git python2-ply)
+#source=("https://bitbucket.org/vbraun/$pkgname/downloads/$pkgname-$pkgver.tar.gz")
+source=(http://mirrors.mit.edu/sage/spkg/upstream/libgap/libgap-$pkgver.tar.gz)
+sha256sums=('bbd89bff4b2a03a0fd52451ebd6bea1e2742a5f0f4503c50e1a7a05254e9aec0')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|4.8.6|4.8.9|g' -i configure.ac -i src/system.c
+#  python2 scripts/libGAPify.py --modify src
+  autoreconf -vi
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list