[arch-commits] Commit in gambit-c/repos (4 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Fri Jan 31 23:49:09 UTC 2014
Date: Saturday, February 1, 2014 @ 00:49:08
Author: arodseth
Revision: 105120
archrelease: copy trunk to community-x86_64, community-i686
Added:
gambit-c/repos/community-i686/PKGBUILD
(from rev 105119, gambit-c/trunk/PKGBUILD)
gambit-c/repos/community-i686/gambit-c.install
(from rev 105119, gambit-c/trunk/gambit-c.install)
gambit-c/repos/community-x86_64/PKGBUILD
(from rev 105119, gambit-c/trunk/PKGBUILD)
gambit-c/repos/community-x86_64/gambit-c.install
(from rev 105119, gambit-c/trunk/gambit-c.install)
-----------------------------------+
community-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-i686/gambit-c.install | 16 ++++++++++++++++
community-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-x86_64/gambit-c.install | 16 ++++++++++++++++
4 files changed, 98 insertions(+)
Copied: gambit-c/repos/community-i686/PKGBUILD (from rev 105119, gambit-c/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-01-31 23:49:08 UTC (rev 105120)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 68685 2012-03-31 16:54:07Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Christian Babeux <christian.babeux at 0x80.ca>
+
+_distname=gambc-v4_7_1
+pkgname=gambit-c
+pkgver=4.7.1
+pkgrel=2
+pkgdesc='Scheme R5RS interpreter and compiler (via C)'
+arch=('x86_64' 'i686')
+url='http://dynamo.iro.umontreal.ca/wiki/index.php/Main_Page'
+license=('LGPL2.1' 'Apache')
+install="$pkgname.install"
+source=(http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/${_distname}.tgz)
+sha256sums=('6b7d58f1e28169d2c873386a1cf7e321e96d23ffd4b3238b105d66ca6bdd7472')
+
+build() {
+ cd "$_distname"
+
+ ./configure --prefix=/usr --docdir=/usr/share/doc/gambit-c \
+ --infodir=/usr/share/info --libdir=/usr/lib/gambit-c \
+ --enable-gcc-opts --enable-single-host
+ make
+}
+
+package() {
+ make -C "$_distname" install DESTDIR="$pkgdir"
+ # gsc conflicts with the one provided by ghostscript
+ mv "$pkgdir/usr/bin/gsc" "$pkgdir/usr/bin/gambitc"
+ ln -sf /usr/bin/gambitc "$pkgdir/usr/bin/gsc-script"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: gambit-c/repos/community-i686/gambit-c.install (from rev 105119, gambit-c/trunk/gambit-c.install)
===================================================================
--- community-i686/gambit-c.install (rev 0)
+++ community-i686/gambit-c.install 2014-01-31 23:49:08 UTC (rev 105120)
@@ -0,0 +1,16 @@
+_infodir=/usr/share/info
+_iinfoargs="$_infodir/gambit-c.info.gz $_infodir/dir"
+
+post_install() {
+ install-info ${_iinfoargs}
+}
+
+post_upgrade() {
+ post_install $@
+}
+
+pre_remove() {
+ install-info --delete ${_iinfoargs}
+}
+
+# vim:set ts=2 sw=2 et:
Copied: gambit-c/repos/community-x86_64/PKGBUILD (from rev 105119, gambit-c/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-01-31 23:49:08 UTC (rev 105120)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 68685 2012-03-31 16:54:07Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Christian Babeux <christian.babeux at 0x80.ca>
+
+_distname=gambc-v4_7_1
+pkgname=gambit-c
+pkgver=4.7.1
+pkgrel=2
+pkgdesc='Scheme R5RS interpreter and compiler (via C)'
+arch=('x86_64' 'i686')
+url='http://dynamo.iro.umontreal.ca/wiki/index.php/Main_Page'
+license=('LGPL2.1' 'Apache')
+install="$pkgname.install"
+source=(http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/${_distname}.tgz)
+sha256sums=('6b7d58f1e28169d2c873386a1cf7e321e96d23ffd4b3238b105d66ca6bdd7472')
+
+build() {
+ cd "$_distname"
+
+ ./configure --prefix=/usr --docdir=/usr/share/doc/gambit-c \
+ --infodir=/usr/share/info --libdir=/usr/lib/gambit-c \
+ --enable-gcc-opts --enable-single-host
+ make
+}
+
+package() {
+ make -C "$_distname" install DESTDIR="$pkgdir"
+ # gsc conflicts with the one provided by ghostscript
+ mv "$pkgdir/usr/bin/gsc" "$pkgdir/usr/bin/gambitc"
+ ln -sf /usr/bin/gambitc "$pkgdir/usr/bin/gsc-script"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: gambit-c/repos/community-x86_64/gambit-c.install (from rev 105119, gambit-c/trunk/gambit-c.install)
===================================================================
--- community-x86_64/gambit-c.install (rev 0)
+++ community-x86_64/gambit-c.install 2014-01-31 23:49:08 UTC (rev 105120)
@@ -0,0 +1,16 @@
+_infodir=/usr/share/info
+_iinfoargs="$_infodir/gambit-c.info.gz $_infodir/dir"
+
+post_install() {
+ install-info ${_iinfoargs}
+}
+
+post_upgrade() {
+ post_install $@
+}
+
+pre_remove() {
+ install-info --delete ${_iinfoargs}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list