[arch-commits] Commit in slib/repos/extra-any (4 files)
Pierre Schmitz
pierre at archlinux.org
Sat Feb 18 12:45:01 UTC 2012
Date: Saturday, February 18, 2012 @ 07:45:00
Author: pierre
Revision: 150550
archrelease: copy trunk to extra-any
Added:
slib/repos/extra-any/PKGBUILD
(from rev 150549, slib/trunk/PKGBUILD)
slib/repos/extra-any/slib.install
(from rev 150549, slib/trunk/slib.install)
Deleted:
slib/repos/extra-any/PKGBUILD
slib/repos/extra-any/slib.install
--------------+
PKGBUILD | 94 ++++++++++++++++++++++++++++-----------------------------
slib.install | 30 +++++++++---------
2 files changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-18 12:44:38 UTC (rev 150549)
+++ PKGBUILD 2012-02-18 12:45:00 UTC (rev 150550)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
-# Contributor: David Moore <davidm at sjsoft.com>
-
-pkgname=slib
-pkgver=3b3
-pkgrel=1
-pkgdesc="A library providing functions for Scheme implementations"
-arch=(any)
-url="http://people.csail.mit.edu/jaffer/SLIB.html"
-license=('custom')
-depends=('guile' 'sh' 'texinfo')
-options=('emptydirs')
-install=slib.install
-source=(http://groups.csail.mit.edu/mac/ftpdir/scm/${pkgname}-${pkgver}.tar.gz)
-md5sums=('11626eef380de4f56d3082514559beb6')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -r -i "s,/usr/(local/)?lib/slib,/usr/share/slib,g" *.init
- install -m755 -d "${pkgdir}/usr/share/slib"
- install -m644 *.scm *.init *.xyz *.txt *.dat *.ps "${pkgdir}/usr/share/slib/"
- install -m755 -d "${pkgdir}/usr/share/info"
- install -m644 slib.info "${pkgdir}/usr/share/info/"
-
- install -m755 -d "${pkgdir}/usr/bin"
- cat << _EOF > "${pkgdir}/usr/bin/slib"
-#!/bin/sh
-SCHEME_LIBRARY_PATH=/usr/share/slib/
-export SCHEME_LIBRARY_PATH
-VERSION=${pkgver}
-S48_VICINITY="/usr/share/scheme48/"
-export S48_VICINITY
-_EOF
-
- cat slib.sh >> "${pkgdir}/usr/bin/slib"
- chmod 755 "${pkgdir}/usr/bin/slib"
-
- install -m755 -d "${pkgdir}/usr/share/man/man1"
- install -m644 slib.1 "${pkgdir}/usr/share/man/man1/"
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/"
-
- install -m755 -d "${pkgdir}/usr/share/guile/site/"
- ln -s /usr/share/slib "${pkgdir}/usr/share/guile/site/"
-}
Copied: slib/repos/extra-any/PKGBUILD (from rev 150549, slib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-02-18 12:45:00 UTC (rev 150550)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Contributor: David Moore <davidm at sjsoft.com>
+
+pkgname=slib
+pkgver=3b3
+pkgrel=2
+pkgdesc="A library providing functions for Scheme implementations"
+arch=('any')
+url="http://people.csail.mit.edu/jaffer/SLIB.html"
+license=('custom')
+depends=('guile' 'sh' 'texinfo')
+options=('emptydirs')
+install=slib.install
+source=("http://groups.csail.mit.edu/mac/ftpdir/scm/${pkgname}-${pkgver}.tar.gz")
+md5sums=('11626eef380de4f56d3082514559beb6')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -r -i "s,/usr/(local/)?lib/slib,/usr/share/slib,g" *.init
+ install -m755 -d "${pkgdir}/usr/share/slib"
+ install -m644 *.scm *.init *.xyz *.txt *.dat *.ps "${pkgdir}/usr/share/slib/"
+ install -m755 -d "${pkgdir}/usr/share/info"
+ install -m644 slib.info "${pkgdir}/usr/share/info/"
+
+ install -m755 -d "${pkgdir}/usr/bin"
+ cat << _EOF > "${pkgdir}/usr/bin/slib"
+#!/bin/sh
+SCHEME_LIBRARY_PATH=/usr/share/slib/
+export SCHEME_LIBRARY_PATH
+VERSION=${pkgver}
+S48_VICINITY="/usr/share/scheme48/"
+export S48_VICINITY
+_EOF
+
+ cat slib.sh >> "${pkgdir}/usr/bin/slib"
+ chmod 755 "${pkgdir}/usr/bin/slib"
+
+ install -m755 -d "${pkgdir}/usr/share/man/man1"
+ install -m644 slib.1 "${pkgdir}/usr/share/man/man1/"
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/"
+
+ install -m755 -d "${pkgdir}/usr/share/guile/site/"
+ ln -s /usr/share/slib "${pkgdir}/usr/share/guile/site/"
+}
Deleted: slib.install
===================================================================
--- slib.install 2012-02-18 12:44:38 UTC (rev 150549)
+++ slib.install 2012-02-18 12:45:00 UTC (rev 150550)
@@ -1,15 +0,0 @@
-#TODO the addition of other implementation support should be added here. We
-# can/should generate catalogs for mzscheme, drscheme, whatever else we can
-
-post_upgrade () {
- usr/bin/guile -c "((use-modules (ice-9 slib))(require 'new-catalog)(quit))"
- usr/bin/install-info usr/share/info/slib.info.gz usr/share/info/dir 2>/dev/null
-}
-post_install() {
- post_upgrade
-}
-
-pre_remove() {
- rm usr/share/guile/site/slibcat
- usr/bin/install-info --delete usr/share/info/slib.info.gz usr/share/info/dir 2>/dev/null
-}
Copied: slib/repos/extra-any/slib.install (from rev 150549, slib/trunk/slib.install)
===================================================================
--- slib.install (rev 0)
+++ slib.install 2012-02-18 12:45:00 UTC (rev 150550)
@@ -0,0 +1,15 @@
+#TODO the addition of other implementation support should be added here. We
+# can/should generate catalogs for mzscheme, drscheme, whatever else we can
+
+post_upgrade () {
+ usr/bin/guile -c "((use-modules (ice-9 slib))(require 'new-catalog)(quit))"
+ usr/bin/install-info usr/share/info/slib.info.gz usr/share/info/dir 2>/dev/null
+}
+post_install() {
+ post_upgrade
+}
+
+pre_remove() {
+ rm usr/share/guile/site/slibcat
+ usr/bin/install-info --delete usr/share/info/slib.info.gz usr/share/info/dir 2>/dev/null
+}
More information about the arch-commits
mailing list