[arch-commits] Commit in (gap gap/trunk gap/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Dec 21 00:27:28 UTC 2014
Date: Sunday, December 21, 2014 @ 01:27:28
Author: arojas
Revision: 124246
Splitting sage-mathematics
Added:
gap/
gap/trunk/
gap/trunk/PKGBUILD
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Added: gap/trunk/PKGBUILD
===================================================================
--- gap/trunk/PKGBUILD (rev 0)
+++ gap/trunk/PKGBUILD 2014-12-21 00:27:28 UTC (rev 124246)
@@ -0,0 +1,44 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: TDY <tdy at archlinux.info>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgbase=gap
+pkgname=('gap' 'gap-packages')
+pkgver=4.7.6
+pkgrel=1
+pkgdesc="GAP: a system for computational discrete algebra"
+arch=('i686' 'x86_64')
+url="http://www.gap-system.org/"
+license=('GPL')
+source=("http://www.gap-system.org/pub/gap/gap47/tar.bz2/gap4r7p6_2014_11_15-20_02.tar.bz2")
+sha256sums=('cfcc6efb6ea79a38efad6031eb8bedbc6474f47dc32c53bd7bada2febdb32b4a')
+
+build() {
+ cd gap4r7
+ ./configure --prefix=/usr --with-gmp=system
+ make
+}
+
+package_gap() {
+ depends=('gmp')
+ optdepends=('gap-packages: extra packages')
+ replaces=('gap-math')
+ conflicts=('gap-math')
+ cd gap4r7
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r * "$pkgdir"/usr/lib/gap
+ rm -r "$pkgdir"/usr/lib/gap/pkg
+
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /usr/lib/gap/bin/gap.sh "$pkgdir"/usr/bin/gap
+}
+
+package_gap-packages() {
+ depends=('gap')
+ pkgdesc="Extra packages for GAP"
+ cd gap4r7
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r pkg "$pkgdir"/usr/lib/gap
+}
Property changes on: gap/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list