[arch-commits] Commit in gauche/repos (4 files)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu Jul 18 21:59:48 UTC 2013


    Date: Thursday, July 18, 2013 @ 23:59:48
  Author: arodseth
Revision: 94289

archrelease: copy trunk to community-x86_64, community-i686

Added:
  gauche/repos/community-i686/PKGBUILD
    (from rev 94288, gauche/trunk/PKGBUILD)
  gauche/repos/community-i686/gauche.install
    (from rev 94288, gauche/trunk/gauche.install)
  gauche/repos/community-x86_64/PKGBUILD
    (from rev 94288, gauche/trunk/PKGBUILD)
  gauche/repos/community-x86_64/gauche.install
    (from rev 94288, gauche/trunk/gauche.install)

---------------------------------+
 community-i686/PKGBUILD         |   34 ++++++++++++++++++++++++++++++++++
 community-i686/gauche.install   |   21 +++++++++++++++++++++
 community-x86_64/PKGBUILD       |   34 ++++++++++++++++++++++++++++++++++
 community-x86_64/gauche.install |   21 +++++++++++++++++++++
 4 files changed, 110 insertions(+)

Copied: gauche/repos/community-i686/PKGBUILD (from rev 94288, gauche/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-07-18 21:59:48 UTC (rev 94289)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Motohiro Ueki <ueki.com at gmail.com>
+# Contributor: nkoizu <nkoizu at gmail.com>
+
+pkgname=gauche
+pkgver=0.9.3.3
+pkgrel=1
+url='http://practical-scheme.net/gauche/'
+pkgdesc='R5RS Scheme implementation (provides gosh)'
+depends=('gdbm' 'zlib' 'slib')
+license=('BSD')
+arch=('x86_64' 'i686')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/$pkgname/Gauche-$pkgver.tgz")
+sha256sums=('3d8b70075faa0f7a24f8d112cc102ee3e1066680cdd19d324d59f33fab79caac')
+
+build() {
+  cd "$srcdir/Gauche-$pkgver"
+
+  ./configure --prefix=/usr --enable-multibyte=utf-8 \
+    --enable-threads=pthreads
+  make -j1
+}
+
+package() {
+  cd "$srcdir/Gauche-$pkgver"
+
+  make -j1 DESTDIR="$pkgdir" install-pkg install-doc
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gauche/repos/community-i686/gauche.install (from rev 94288, gauche/trunk/gauche.install)
===================================================================
--- community-i686/gauche.install	                        (rev 0)
+++ community-i686/gauche.install	2013-07-18 21:59:48 UTC (rev 94289)
@@ -0,0 +1,21 @@
+infodir=/usr/share/info
+filelist=(gauche-refe.info gauche-refj.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+  /usr/bin/gosh -ftest -uslib -E"require 'new-catalog" -Eexit;
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}

Copied: gauche/repos/community-x86_64/PKGBUILD (from rev 94288, gauche/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-07-18 21:59:48 UTC (rev 94289)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Motohiro Ueki <ueki.com at gmail.com>
+# Contributor: nkoizu <nkoizu at gmail.com>
+
+pkgname=gauche
+pkgver=0.9.3.3
+pkgrel=1
+url='http://practical-scheme.net/gauche/'
+pkgdesc='R5RS Scheme implementation (provides gosh)'
+depends=('gdbm' 'zlib' 'slib')
+license=('BSD')
+arch=('x86_64' 'i686')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/$pkgname/Gauche-$pkgver.tgz")
+sha256sums=('3d8b70075faa0f7a24f8d112cc102ee3e1066680cdd19d324d59f33fab79caac')
+
+build() {
+  cd "$srcdir/Gauche-$pkgver"
+
+  ./configure --prefix=/usr --enable-multibyte=utf-8 \
+    --enable-threads=pthreads
+  make -j1
+}
+
+package() {
+  cd "$srcdir/Gauche-$pkgver"
+
+  make -j1 DESTDIR="$pkgdir" install-pkg install-doc
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gauche/repos/community-x86_64/gauche.install (from rev 94288, gauche/trunk/gauche.install)
===================================================================
--- community-x86_64/gauche.install	                        (rev 0)
+++ community-x86_64/gauche.install	2013-07-18 21:59:48 UTC (rev 94289)
@@ -0,0 +1,21 @@
+infodir=/usr/share/info
+filelist=(gauche-refe.info gauche-refj.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+  /usr/bin/gosh -ftest -uslib -E"require 'new-catalog" -Eexit;
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list