Date: Monday, September 5, 2011 @ 19:05:51 Author: dreisner Revision: 137076
archrelease: copy trunk to extra-i686, extra-x86_64 Added: sbcl/repos/extra-i686/PKGBUILD (from rev 137075, sbcl/trunk/PKGBUILD) sbcl/repos/extra-i686/arch-fixes.lisp (from rev 137075, sbcl/trunk/arch-fixes.lisp) sbcl/repos/extra-i686/sbcl.install (from rev 137075, sbcl/trunk/sbcl.install) sbcl/repos/extra-x86_64/PKGBUILD (from rev 137075, sbcl/trunk/PKGBUILD) sbcl/repos/extra-x86_64/arch-fixes.lisp (from rev 137075, sbcl/trunk/arch-fixes.lisp) sbcl/repos/extra-x86_64/sbcl.install (from rev 137075, sbcl/trunk/sbcl.install) Deleted: sbcl/repos/extra-i686/0001-Fix-version-string-parsing-for-Linux-3.0.patch sbcl/repos/extra-i686/PKGBUILD sbcl/repos/extra-i686/arch-fixes.lisp sbcl/repos/extra-i686/sbcl.install sbcl/repos/extra-x86_64/0001-Fix-version-string-parsing-for-Linux-3.0.patch sbcl/repos/extra-x86_64/PKGBUILD sbcl/repos/extra-x86_64/arch-fixes.lisp sbcl/repos/extra-x86_64/sbcl.install ------------------------------------------------------------------+ extra-i686/0001-Fix-version-string-parsing-for-Linux-3.0.patch | 43 --- extra-i686/PKGBUILD | 143 ++++------ extra-i686/arch-fixes.lisp | 42 +- extra-i686/sbcl.install | 36 +- extra-x86_64/0001-Fix-version-string-parsing-for-Linux-3.0.patch | 43 --- extra-x86_64/PKGBUILD | 143 ++++------ extra-x86_64/arch-fixes.lisp | 42 +- extra-x86_64/sbcl.install | 36 +- 8 files changed, 216 insertions(+), 312 deletions(-) Deleted: extra-i686/0001-Fix-version-string-parsing-for-Linux-3.0.patch =================================================================== --- extra-i686/0001-Fix-version-string-parsing-for-Linux-3.0.patch 2011-09-05 23:05:20 UTC (rev 137075) +++ extra-i686/0001-Fix-version-string-parsing-for-Linux-3.0.patch 2011-09-05 23:05:51 UTC (rev 137076) @@ -1,43 +0,0 @@ -From b43c51beeb0569a38900e1e5a78606711f987742 Mon Sep 17 00:00:00 2001 -From: Paul Khuong <p...@pvk.ca> -Date: Wed, 3 Aug 2011 10:20:41 -0400 -Subject: [PATCH] Fix version string parsing for Linux 3.0 - - Stop assuming the presence of minor and patch version numbers; missing - values are defaulted to 0 (e.g. 3.0.0). - - Reported by a few people on IRC. ---- - src/runtime/linux-os.c | 14 ++++++++++---- - 1 files changed, 10 insertions(+), 4 deletions(-) - -diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c -index db72fa6..e262f41 100644 ---- a/src/runtime/linux-os.c -+++ b/src/runtime/linux-os.c -@@ -198,12 +198,18 @@ os_init(char *argv[], char *envp[]) - int patch_version; - char *p; - uname(&name); -+ - p=name.release; - major_version = atoi(p); -- p=strchr(p,'.')+1; -- minor_version = atoi(p); -- p=strchr(p,'.')+1; -- patch_version = atoi(p); -+ minor_version = patch_version = 0; -+ p=strchr(p,'.'); -+ if (p != NULL) { -+ minor_version = atoi(++p); -+ p=strchr(p,'.'); -+ if (p != NULL) -+ patch_version = atoi(++p); -+ } -+ - if (major_version<2) { - lose("linux kernel version too old: major version=%d (can't run in version < 2.0.0)\n", - major_version); --- -1.7.6 - Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2011-09-05 23:05:20 UTC (rev 137075) +++ extra-i686/PKGBUILD 2011-09-05 23:05:51 UTC (rev 137076) @@ -1,74 +0,0 @@ -# $Id$ -# Contributor: John Proctor <jproc...@prium.net> -# Contributor: Daniel White <dan...@whitehouse.id.au> -# Maintainer: Juergen Hoetzel <juer...@archlinux.org> -# Contributor: Leslie Polzer (skypher) - -pkgname=sbcl -pkgver=1.0.50 -pkgrel=2 -pkgdesc="Steel Bank Common Lisp" -url="http://www.sbcl.org/" -arch=('i686' 'x86_64') -license=('custom') -depends=('glibc') -provides=('common-lisp' 'cl-asdf') -makedepends=('sbcl' 'texinfo') -install=sbcl.install -source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" - "arch-fixes.lisp" - "0001-Fix-version-string-parsing-for-Linux-3.0.patch") -md5sums=('74ce9b24516885d066ec4287cde52e8c' - '7ac0c1936547f4278198b8bf7725204d' - '7af58d1de2d788ad6a8d82c89279a75f') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - export CFLAGS+=" -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" - export GNUMAKE="make -e" - - # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS - export LINKFLAGS="$LDFLAGS" - unset LDFLAGS - - # Make a multi-threaded SBCL, disable LARGEFILE - cat >customize-target-features.lisp <<EOF -(lambda (features) - (flet ((enable (x) (pushnew x features)) - (disable (x) (setf features (remove x features)))) - (enable :sb-thread) - (disable :largefile))) -EOF - - # fix build against 3.0-ARCH - patch -Np1 < "$srcdir/0001-Fix-version-string-parsing-for-Linux-3.0.patch" - - sh make.sh sbcl - make -C doc/manual info -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - INSTALL_ROOT="$pkgdir/usr" sh install.sh - - src/runtime/sbcl --core output/sbcl.core --script ${startdir}/src/arch-fixes.lisp - mv sbcl-new.core ${startdir}/pkg/usr/lib/sbcl/sbcl.core - - # sources - mkdir -p "$pkgdir/usr/share/sbcl-source" - cp -R -t "$pkgdir/usr/share/sbcl-source" "$srcdir/$pkgname-$pkgver/"{src,contrib} - - # license - install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" \ - "$pkgdir/usr/share/licenses/$pkgname/license.txt" - - # drop unwanted files - find "$pkgdir" \( -name Makefile -o -name .cvsignore \) -delete - find "$pkgdir/usr/share/sbcl-source" -type f \ - \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete - - rm "$pkgdir/usr/share/sbcl-source/src/runtime/sbcl"{,.nm} - -} Copied: sbcl/repos/extra-i686/PKGBUILD (from rev 137075, sbcl/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2011-09-05 23:05:51 UTC (rev 137076) @@ -0,0 +1,69 @@ +# $Id$ +# Contributor: John Proctor <jproc...@prium.net> +# Contributor: Daniel White <dan...@whitehouse.id.au> +# Maintainer: Juergen Hoetzel <juer...@archlinux.org> +# Contributor: Leslie Polzer (skypher) + +pkgname=sbcl +pkgver=1.0.51 +pkgrel=1 +pkgdesc="Steel Bank Common Lisp" +url="http://www.sbcl.org/" +arch=('i686' 'x86_64') +license=('custom') +depends=('glibc') +provides=('common-lisp' 'cl-asdf') +makedepends=('sbcl' 'texinfo') +install=sbcl.install +source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" + "arch-fixes.lisp") +md5sums=('08032cc777f1236953cb901e24775457' + '7ac0c1936547f4278198b8bf7725204d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + export CFLAGS+=" -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" + export GNUMAKE="make -e" + + # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS + export LINKFLAGS="$LDFLAGS" + unset LDFLAGS + + # Make a multi-threaded SBCL, disable LARGEFILE + cat >customize-target-features.lisp <<EOF +(lambda (features) + (flet ((enable (x) (pushnew x features)) + (disable (x) (setf features (remove x features)))) + (enable :sb-thread) + (disable :largefile))) +EOF + + sh make.sh sbcl + make -C doc/manual info +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + INSTALL_ROOT="$pkgdir/usr" sh install.sh + + src/runtime/sbcl --core output/sbcl.core --script ${startdir}/src/arch-fixes.lisp + mv sbcl-new.core ${startdir}/pkg/usr/lib/sbcl/sbcl.core + + # sources + mkdir -p "$pkgdir/usr/share/sbcl-source" + cp -R -t "$pkgdir/usr/share/sbcl-source" "$srcdir/$pkgname-$pkgver/"{src,contrib} + + # license + install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" \ + "$pkgdir/usr/share/licenses/$pkgname/license.txt" + + # drop unwanted files + find "$pkgdir" \( -name Makefile -o -name .cvsignore \) -delete + find "$pkgdir/usr/share/sbcl-source" -type f \ + \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete + + rm "$pkgdir/usr/share/sbcl-source/src/runtime/sbcl"{,.nm} + +} Deleted: extra-i686/arch-fixes.lisp =================================================================== --- extra-i686/arch-fixes.lisp 2011-09-05 23:05:20 UTC (rev 137075) +++ extra-i686/arch-fixes.lisp 2011-09-05 23:05:51 UTC (rev 137076) @@ -1,21 +0,0 @@ -(in-package "COMMON-LISP-USER") - -(let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source"))) - (src - (merge-pathnames - (make-pathname :directory '(:relative "src" :wild-inferiors) - :name :wild :type :wild) - parent)) - (contrib - (merge-pathnames - (make-pathname :directory '(:relative "contrib" :wild-inferiors) - :name :wild :type :wild) - parent))) - (setf (logical-pathname-translations "SYS") - `(("SYS:SRC;**;*.*.*" ,src) - ("SYS:CONTRIB;**;*.*.*" ,contrib)))) - -(ignore-errors - (sb-ext:gc :full t) - (sb-ext:enable-debugger) - (sb-ext:save-lisp-and-die "sbcl-new.core")) Copied: sbcl/repos/extra-i686/arch-fixes.lisp (from rev 137075, sbcl/trunk/arch-fixes.lisp) =================================================================== --- extra-i686/arch-fixes.lisp (rev 0) +++ extra-i686/arch-fixes.lisp 2011-09-05 23:05:51 UTC (rev 137076) @@ -0,0 +1,21 @@ +(in-package "COMMON-LISP-USER") + +(let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source"))) + (src + (merge-pathnames + (make-pathname :directory '(:relative "src" :wild-inferiors) + :name :wild :type :wild) + parent)) + (contrib + (merge-pathnames + (make-pathname :directory '(:relative "contrib" :wild-inferiors) + :name :wild :type :wild) + parent))) + (setf (logical-pathname-translations "SYS") + `(("SYS:SRC;**;*.*.*" ,src) + ("SYS:CONTRIB;**;*.*.*" ,contrib)))) + +(ignore-errors + (sb-ext:gc :full t) + (sb-ext:enable-debugger) + (sb-ext:save-lisp-and-die "sbcl-new.core")) Deleted: extra-i686/sbcl.install =================================================================== --- extra-i686/sbcl.install 2011-09-05 23:05:20 UTC (rev 137075) +++ extra-i686/sbcl.install 2011-09-05 23:05:51 UTC (rev 137076) @@ -1,18 +0,0 @@ -info_dir=/usr/share/info -info_files=(asdf.info sbcl.info) - -post_install() { - for f in ${info_files[@]}; do - install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for f in ${info_files[@]}; do - install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} Copied: sbcl/repos/extra-i686/sbcl.install (from rev 137075, sbcl/trunk/sbcl.install) =================================================================== --- extra-i686/sbcl.install (rev 0) +++ extra-i686/sbcl.install 2011-09-05 23:05:51 UTC (rev 137076) @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(asdf.info sbcl.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} Deleted: extra-x86_64/0001-Fix-version-string-parsing-for-Linux-3.0.patch =================================================================== --- extra-x86_64/0001-Fix-version-string-parsing-for-Linux-3.0.patch 2011-09-05 23:05:20 UTC (rev 137075) +++ extra-x86_64/0001-Fix-version-string-parsing-for-Linux-3.0.patch 2011-09-05 23:05:51 UTC (rev 137076) @@ -1,43 +0,0 @@ -From b43c51beeb0569a38900e1e5a78606711f987742 Mon Sep 17 00:00:00 2001 -From: Paul Khuong <p...@pvk.ca> -Date: Wed, 3 Aug 2011 10:20:41 -0400 -Subject: [PATCH] Fix version string parsing for Linux 3.0 - - Stop assuming the presence of minor and patch version numbers; missing - values are defaulted to 0 (e.g. 3.0.0). - - Reported by a few people on IRC. ---- - src/runtime/linux-os.c | 14 ++++++++++---- - 1 files changed, 10 insertions(+), 4 deletions(-) - -diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c -index db72fa6..e262f41 100644 ---- a/src/runtime/linux-os.c -+++ b/src/runtime/linux-os.c -@@ -198,12 +198,18 @@ os_init(char *argv[], char *envp[]) - int patch_version; - char *p; - uname(&name); -+ - p=name.release; - major_version = atoi(p); -- p=strchr(p,'.')+1; -- minor_version = atoi(p); -- p=strchr(p,'.')+1; -- patch_version = atoi(p); -+ minor_version = patch_version = 0; -+ p=strchr(p,'.'); -+ if (p != NULL) { -+ minor_version = atoi(++p); -+ p=strchr(p,'.'); -+ if (p != NULL) -+ patch_version = atoi(++p); -+ } -+ - if (major_version<2) { - lose("linux kernel version too old: major version=%d (can't run in version < 2.0.0)\n", - major_version); --- -1.7.6 - Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2011-09-05 23:05:20 UTC (rev 137075) +++ extra-x86_64/PKGBUILD 2011-09-05 23:05:51 UTC (rev 137076) @@ -1,74 +0,0 @@ -# $Id$ -# Contributor: John Proctor <jproc...@prium.net> -# Contributor: Daniel White <dan...@whitehouse.id.au> -# Maintainer: Juergen Hoetzel <juer...@archlinux.org> -# Contributor: Leslie Polzer (skypher) - -pkgname=sbcl -pkgver=1.0.50 -pkgrel=2 -pkgdesc="Steel Bank Common Lisp" -url="http://www.sbcl.org/" -arch=('i686' 'x86_64') -license=('custom') -depends=('glibc') -provides=('common-lisp' 'cl-asdf') -makedepends=('sbcl' 'texinfo') -install=sbcl.install -source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" - "arch-fixes.lisp" - "0001-Fix-version-string-parsing-for-Linux-3.0.patch") -md5sums=('74ce9b24516885d066ec4287cde52e8c' - '7ac0c1936547f4278198b8bf7725204d' - '7af58d1de2d788ad6a8d82c89279a75f') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - export CFLAGS+=" -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" - export GNUMAKE="make -e" - - # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS - export LINKFLAGS="$LDFLAGS" - unset LDFLAGS - - # Make a multi-threaded SBCL, disable LARGEFILE - cat >customize-target-features.lisp <<EOF -(lambda (features) - (flet ((enable (x) (pushnew x features)) - (disable (x) (setf features (remove x features)))) - (enable :sb-thread) - (disable :largefile))) -EOF - - # fix build against 3.0-ARCH - patch -Np1 < "$srcdir/0001-Fix-version-string-parsing-for-Linux-3.0.patch" - - sh make.sh sbcl - make -C doc/manual info -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - INSTALL_ROOT="$pkgdir/usr" sh install.sh - - src/runtime/sbcl --core output/sbcl.core --script ${startdir}/src/arch-fixes.lisp - mv sbcl-new.core ${startdir}/pkg/usr/lib/sbcl/sbcl.core - - # sources - mkdir -p "$pkgdir/usr/share/sbcl-source" - cp -R -t "$pkgdir/usr/share/sbcl-source" "$srcdir/$pkgname-$pkgver/"{src,contrib} - - # license - install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" \ - "$pkgdir/usr/share/licenses/$pkgname/license.txt" - - # drop unwanted files - find "$pkgdir" \( -name Makefile -o -name .cvsignore \) -delete - find "$pkgdir/usr/share/sbcl-source" -type f \ - \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete - - rm "$pkgdir/usr/share/sbcl-source/src/runtime/sbcl"{,.nm} - -} Copied: sbcl/repos/extra-x86_64/PKGBUILD (from rev 137075, sbcl/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2011-09-05 23:05:51 UTC (rev 137076) @@ -0,0 +1,69 @@ +# $Id$ +# Contributor: John Proctor <jproc...@prium.net> +# Contributor: Daniel White <dan...@whitehouse.id.au> +# Maintainer: Juergen Hoetzel <juer...@archlinux.org> +# Contributor: Leslie Polzer (skypher) + +pkgname=sbcl +pkgver=1.0.51 +pkgrel=1 +pkgdesc="Steel Bank Common Lisp" +url="http://www.sbcl.org/" +arch=('i686' 'x86_64') +license=('custom') +depends=('glibc') +provides=('common-lisp' 'cl-asdf') +makedepends=('sbcl' 'texinfo') +install=sbcl.install +source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" + "arch-fixes.lisp") +md5sums=('08032cc777f1236953cb901e24775457' + '7ac0c1936547f4278198b8bf7725204d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + export CFLAGS+=" -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" + export GNUMAKE="make -e" + + # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS + export LINKFLAGS="$LDFLAGS" + unset LDFLAGS + + # Make a multi-threaded SBCL, disable LARGEFILE + cat >customize-target-features.lisp <<EOF +(lambda (features) + (flet ((enable (x) (pushnew x features)) + (disable (x) (setf features (remove x features)))) + (enable :sb-thread) + (disable :largefile))) +EOF + + sh make.sh sbcl + make -C doc/manual info +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + INSTALL_ROOT="$pkgdir/usr" sh install.sh + + src/runtime/sbcl --core output/sbcl.core --script ${startdir}/src/arch-fixes.lisp + mv sbcl-new.core ${startdir}/pkg/usr/lib/sbcl/sbcl.core + + # sources + mkdir -p "$pkgdir/usr/share/sbcl-source" + cp -R -t "$pkgdir/usr/share/sbcl-source" "$srcdir/$pkgname-$pkgver/"{src,contrib} + + # license + install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" \ + "$pkgdir/usr/share/licenses/$pkgname/license.txt" + + # drop unwanted files + find "$pkgdir" \( -name Makefile -o -name .cvsignore \) -delete + find "$pkgdir/usr/share/sbcl-source" -type f \ + \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete + + rm "$pkgdir/usr/share/sbcl-source/src/runtime/sbcl"{,.nm} + +} Deleted: extra-x86_64/arch-fixes.lisp =================================================================== --- extra-x86_64/arch-fixes.lisp 2011-09-05 23:05:20 UTC (rev 137075) +++ extra-x86_64/arch-fixes.lisp 2011-09-05 23:05:51 UTC (rev 137076) @@ -1,21 +0,0 @@ -(in-package "COMMON-LISP-USER") - -(let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source"))) - (src - (merge-pathnames - (make-pathname :directory '(:relative "src" :wild-inferiors) - :name :wild :type :wild) - parent)) - (contrib - (merge-pathnames - (make-pathname :directory '(:relative "contrib" :wild-inferiors) - :name :wild :type :wild) - parent))) - (setf (logical-pathname-translations "SYS") - `(("SYS:SRC;**;*.*.*" ,src) - ("SYS:CONTRIB;**;*.*.*" ,contrib)))) - -(ignore-errors - (sb-ext:gc :full t) - (sb-ext:enable-debugger) - (sb-ext:save-lisp-and-die "sbcl-new.core")) Copied: sbcl/repos/extra-x86_64/arch-fixes.lisp (from rev 137075, sbcl/trunk/arch-fixes.lisp) =================================================================== --- extra-x86_64/arch-fixes.lisp (rev 0) +++ extra-x86_64/arch-fixes.lisp 2011-09-05 23:05:51 UTC (rev 137076) @@ -0,0 +1,21 @@ +(in-package "COMMON-LISP-USER") + +(let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source"))) + (src + (merge-pathnames + (make-pathname :directory '(:relative "src" :wild-inferiors) + :name :wild :type :wild) + parent)) + (contrib + (merge-pathnames + (make-pathname :directory '(:relative "contrib" :wild-inferiors) + :name :wild :type :wild) + parent))) + (setf (logical-pathname-translations "SYS") + `(("SYS:SRC;**;*.*.*" ,src) + ("SYS:CONTRIB;**;*.*.*" ,contrib)))) + +(ignore-errors + (sb-ext:gc :full t) + (sb-ext:enable-debugger) + (sb-ext:save-lisp-and-die "sbcl-new.core")) Deleted: extra-x86_64/sbcl.install =================================================================== --- extra-x86_64/sbcl.install 2011-09-05 23:05:20 UTC (rev 137075) +++ extra-x86_64/sbcl.install 2011-09-05 23:05:51 UTC (rev 137076) @@ -1,18 +0,0 @@ -info_dir=/usr/share/info -info_files=(asdf.info sbcl.info) - -post_install() { - for f in ${info_files[@]}; do - install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for f in ${info_files[@]}; do - install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} Copied: sbcl/repos/extra-x86_64/sbcl.install (from rev 137075, sbcl/trunk/sbcl.install) =================================================================== --- extra-x86_64/sbcl.install (rev 0) +++ extra-x86_64/sbcl.install 2011-09-05 23:05:51 UTC (rev 137076) @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(asdf.info sbcl.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +}