[arch-commits] Commit in gap/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Nov 6 21:15:48 UTC 2016
Date: Sunday, November 6, 2016 @ 21:15:47
Author: foutrelis
Revision: 194818
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
gap/repos/community-staging-i686/
gap/repos/community-staging-i686/PKGBUILD
(from rev 194817, gap/trunk/PKGBUILD)
gap/repos/community-staging-x86_64/
gap/repos/community-staging-x86_64/PKGBUILD
(from rev 194817, gap/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 71 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 71 ++++++++++++++++++++++++++++++++++++
2 files changed, 142 insertions(+)
Copied: gap/repos/community-staging-i686/PKGBUILD (from rev 194817, gap/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-06 21:15:47 UTC (rev 194818)
@@ -0,0 +1,71 @@
+# $Id$
+# 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-data gap-doc gap-packages)
+pkgver=4.8.3
+pkgrel=3
+pkgdesc="Groups, Algorithms, Programming: 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/gap48/tar.bz2/gap4r8p3_2016_03_19-22_17.tar.bz2")
+sha256sums=('81d358109d87014eb10d1325c38ee94aa968b2a6365afd1a7411bfdd44f7a454')
+
+build() {
+ cd gap4r8
+ ./configure --prefix=/usr --with-gmp=system
+ make
+}
+
+package_gap() {
+ depends=(gmp)
+ optdepends=('gap-packages: extra packages' 'gap-data: additional databases' 'gap-doc: documentation')
+ replaces=(gap-math)
+ conflicts=(gap-math)
+ cd gap4r8
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r bin etc grp lib tst CITATION "$pkgdir"/usr/lib/gap
+
+ mkdir -p "$pkgdir"/usr/lib/gap/pkg
+ cp -r pkg/GAPDoc-* "$pkgdir"/usr/lib/gap/pkg
+
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /usr/lib/gap/bin/gap.sh "$pkgdir"/usr/bin/gap
+
+# fix location
+ sed -e 's|/build/gap/src/gap4r8|/usr/lib/gap|' -i "$pkgdir"/usr/lib/gap/bin/gap.sh
+}
+
+package_gap-data() {
+ depends=(gap)
+ pkgdesc="Additional databases for GAP"
+ cd gap4r8
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r prim small trans "$pkgdir"/usr/lib/gap
+}
+
+package_gap-doc() {
+ depends=(gap)
+ pkgdesc="Documentation for GAP"
+ cd gap4r8
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r doc "$pkgdir"/usr/lib/gap
+}
+
+package_gap-packages() {
+ depends=(gap)
+ pkgdesc="Extra packages for GAP"
+ cd gap4r8
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r pkg "$pkgdir"/usr/lib/gap
+
+# GAPDoc is in main package
+ rm -r "$pkgdir"/usr/lib/gap/pkg/GAPDoc-*
+}
Copied: gap/repos/community-staging-x86_64/PKGBUILD (from rev 194817, gap/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-11-06 21:15:47 UTC (rev 194818)
@@ -0,0 +1,71 @@
+# $Id$
+# 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-data gap-doc gap-packages)
+pkgver=4.8.3
+pkgrel=3
+pkgdesc="Groups, Algorithms, Programming: 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/gap48/tar.bz2/gap4r8p3_2016_03_19-22_17.tar.bz2")
+sha256sums=('81d358109d87014eb10d1325c38ee94aa968b2a6365afd1a7411bfdd44f7a454')
+
+build() {
+ cd gap4r8
+ ./configure --prefix=/usr --with-gmp=system
+ make
+}
+
+package_gap() {
+ depends=(gmp)
+ optdepends=('gap-packages: extra packages' 'gap-data: additional databases' 'gap-doc: documentation')
+ replaces=(gap-math)
+ conflicts=(gap-math)
+ cd gap4r8
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r bin etc grp lib tst CITATION "$pkgdir"/usr/lib/gap
+
+ mkdir -p "$pkgdir"/usr/lib/gap/pkg
+ cp -r pkg/GAPDoc-* "$pkgdir"/usr/lib/gap/pkg
+
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /usr/lib/gap/bin/gap.sh "$pkgdir"/usr/bin/gap
+
+# fix location
+ sed -e 's|/build/gap/src/gap4r8|/usr/lib/gap|' -i "$pkgdir"/usr/lib/gap/bin/gap.sh
+}
+
+package_gap-data() {
+ depends=(gap)
+ pkgdesc="Additional databases for GAP"
+ cd gap4r8
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r prim small trans "$pkgdir"/usr/lib/gap
+}
+
+package_gap-doc() {
+ depends=(gap)
+ pkgdesc="Documentation for GAP"
+ cd gap4r8
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r doc "$pkgdir"/usr/lib/gap
+}
+
+package_gap-packages() {
+ depends=(gap)
+ pkgdesc="Extra packages for GAP"
+ cd gap4r8
+
+ mkdir -p "$pkgdir"/usr/lib/gap
+ cp -r pkg "$pkgdir"/usr/lib/gap
+
+# GAPDoc is in main package
+ rm -r "$pkgdir"/usr/lib/gap/pkg/GAPDoc-*
+}
More information about the arch-commits
mailing list