[arch-commits] Commit in slib/repos/community-any (8 files)

Allan McRae allan at gemini.archlinux.org
Mon Apr 25 02:21:48 UTC 2022


    Date: Monday, April 25, 2022 @ 02:21:47
  Author: allan
Revision: 1189812

archrelease: copy trunk to community-any

Added:
  slib/repos/community-any/PKGBUILD
    (from rev 1189811, slib/trunk/PKGBUILD)
  slib/repos/community-any/slib-register.hook
    (from rev 1189811, slib/trunk/slib-register.hook)
  slib/repos/community-any/slib-unregister.hook
    (from rev 1189811, slib/trunk/slib-unregister.hook)
  slib/repos/community-any/slib.install
    (from rev 1189811, slib/trunk/slib.install)
Deleted:
  slib/repos/community-any/PKGBUILD
  slib/repos/community-any/slib-register.hook
  slib/repos/community-any/slib-unregister.hook
  slib/repos/community-any/slib.install

----------------------+
 PKGBUILD             |   78 ++++++++++++++++++++++++-------------------------
 slib-register.hook   |   24 +++++++--------
 slib-unregister.hook |   24 +++++++--------
 slib.install         |   70 +++++++++++++++++++++----------------------
 4 files changed, 98 insertions(+), 98 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-25 02:21:18 UTC (rev 1189811)
+++ PKGBUILD	2022-04-25 02:21:47 UTC (rev 1189812)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-# Contributor: David Moore <davidm at sjsoft.com>
-
-pkgname=slib
-pkgver=3b6
-pkgrel=1
-pkgdesc='Library of functions for Scheme implementations'
-arch=(any)
-url='https://people.csail.mit.edu/jaffer/SLIB.html'
-license=(custom)
-depends=(guile)
-options=(emptydirs)
-source=("https://groups.csail.mit.edu/mac/ftpdir/scm/$pkgname-$pkgver.zip")
-sha256sums=('2e8cb4843b5400b2e39fe9ddcc8040a412f9a19cccf5e7e2c2e071ceb9b0ed8c')
-
-prepare() {
-  cd $pkgname
-
-  # Path fix
-  sed -r -i 's,/usr/(local/)?lib/slib,/usr/share/slib,g' *.init
-
-  # Add missing headers and definitions
-  sed -i "1s,^,#!/bin/sh\nexport SCHEME_LIBRARY_PATH=/usr/share/slib/\nVERSION=$pkgver\n,;s,\${S48_VICINITY},/usr/share/scheme48/,g" slib.sh
-}
-
-package() {
-  cd $pkgname
-
-  install -d "$pkgdir"/usr/{bin,share/{guile/site,slib}}
-  install -m644 *.scm *.init *.xyz *.txt *.dat *.ps "$pkgdir/usr/share/slib/"
-  install -Dm755 slib.sh "$pkgdir/usr/bin/slib"
-  ln -s /usr/share/slib "$pkgdir/usr/share/guile/site/"
-  install -Dm644 slib.info "$pkgdir/usr/share/info/slib.info"
-  install -Dm644 slib.1 "$pkgdir/usr/share/man/man1/slib.1"
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: slib/repos/community-any/PKGBUILD (from rev 1189811, slib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-25 02:21:47 UTC (rev 1189812)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: David Moore <davidm at sjsoft.com>
+
+pkgname=slib
+pkgver=3b6
+pkgrel=2
+pkgdesc='Library of functions for Scheme implementations'
+arch=(any)
+url='https://people.csail.mit.edu/jaffer/SLIB.html'
+license=(custom)
+depends=(guile)
+options=(emptydirs)
+source=("https://groups.csail.mit.edu/mac/ftpdir/scm/$pkgname-$pkgver.zip")
+sha256sums=('2e8cb4843b5400b2e39fe9ddcc8040a412f9a19cccf5e7e2c2e071ceb9b0ed8c')
+
+prepare() {
+  cd $pkgname
+
+  # Path fix
+  sed -r -i 's,/usr/(local/)?lib/slib,/usr/share/slib,g' *.init
+
+  # Add missing headers and definitions
+  sed -i "1s,^,#!/bin/sh\nexport SCHEME_LIBRARY_PATH=/usr/share/slib/\nVERSION=$pkgver\n,;s,\${S48_VICINITY},/usr/share/scheme48/,g" slib.sh
+}
+
+package() {
+  cd $pkgname
+
+  install -d "$pkgdir"/usr/{bin,share/{guile/site,slib}}
+  install -m644 *.scm *.init *.xyz *.txt *.dat *.ps "$pkgdir/usr/share/slib/"
+  install -Dm755 slib.sh "$pkgdir/usr/bin/slib"
+  ln -s /usr/share/slib "$pkgdir/usr/share/guile/site/"
+  install -Dm644 slib.info "$pkgdir/usr/share/info/slib.info"
+  install -Dm644 slib.1 "$pkgdir/usr/share/man/man1/slib.1"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: slib-register.hook
===================================================================
--- slib-register.hook	2022-04-25 02:21:18 UTC (rev 1189811)
+++ slib-register.hook	2022-04-25 02:21:47 UTC (rev 1189812)
@@ -1,12 +0,0 @@
-[Trigger]
-Type = Path
-Operation = Install
-Operation = Upgrade
-Target = usr/share/slib/register/*.sh
-
-[Action]
-Description = Registering slib for all available scheme compilers...
-When = PostTransaction
-Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 2>&1 > /dev/null; done'
-Depends = slib
-NeedsTargets

Copied: slib/repos/community-any/slib-register.hook (from rev 1189811, slib/trunk/slib-register.hook)
===================================================================
--- slib-register.hook	                        (rev 0)
+++ slib-register.hook	2022-04-25 02:21:47 UTC (rev 1189812)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Target = usr/share/slib/register/*.sh
+
+[Action]
+Description = Registering slib for all available scheme compilers...
+When = PostTransaction
+Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 2>&1 > /dev/null; done'
+Depends = slib
+NeedsTargets

Deleted: slib-unregister.hook
===================================================================
--- slib-unregister.hook	2022-04-25 02:21:18 UTC (rev 1189811)
+++ slib-unregister.hook	2022-04-25 02:21:47 UTC (rev 1189812)
@@ -1,12 +0,0 @@
-[Trigger]
-Type = Path
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/slib/unregister/*.sh
-
-[Action]
-Description = Unregistering slib for all available scheme compilers...
-When = PreTransaction
-Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 2>&1 >/dev/null; done'
-Depends = slib
-NeedsTargets

Copied: slib/repos/community-any/slib-unregister.hook (from rev 1189811, slib/trunk/slib-unregister.hook)
===================================================================
--- slib-unregister.hook	                        (rev 0)
+++ slib-unregister.hook	2022-04-25 02:21:47 UTC (rev 1189812)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/slib/unregister/*.sh
+
+[Action]
+Description = Unregistering slib for all available scheme compilers...
+When = PreTransaction
+Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 2>&1 >/dev/null; done'
+Depends = slib
+NeedsTargets

Deleted: slib.install
===================================================================
--- slib.install	2022-04-25 02:21:18 UTC (rev 1189811)
+++ slib.install	2022-04-25 02:21:47 UTC (rev 1189812)
@@ -1,35 +0,0 @@
-#
-# This is a bit of a chicken-and-egg problem. slib depends on some sort of scheme interpreter to be installed,
-# but when installing a new scheme interpreter, it should look for and use slib, if installed.
-#
-# This can probably be installed with a pacman hooks.
-#
-
-_new_catalog() {
-  # From https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-scheme/slib/slib-3.2.5-r1.ebuild?id=61b861acd7b49083dab687e133f30f3331cb7480
-	if [[ ! "$1" =~ ^(guile|scm)$ ]]; then
-    echo -n "(load \"/usr/share/slib/$1.init\")"
-	fi
-  echo " (require 'new-catalog) (slib:report-version)"
-}
-
-#post_upgrade () {
-  #[ ! -d /usr/share/guile/site/2.2 ] && install -dm755 /usr/share/guile/site/2.2
-  #[ -d /root/.cache/guile/ccache ] && rm -rf /root/.cache/guile/ccache || true
-  #[ -x /usr/bin/guile ] && guile -c "(use-modules (ice-9 slib)) $(_new_catalog guile-2)"
-  #[ -x /usr/bin/csi ] && csi -e "$(_new_catalog csi)" || echo no chicken
-  #[ -x /usr/bin/scm ] && scm -e "$(_new_catalog scm)" || echo no scm
-  #[ -x /usr/bin/gsi ] && gsi -e "$(_new_catalog gambit)" || echo gambit slib installation failed
-#}
-
-#post_install() {
-#  post_upgrade
-#}
-
-#pre_remove() {
-#  rm -f \
-#    /usr/share/guile/site/slibcat \
-#    /usr/share/guile/site/2.2/slibcat
-#}
-
-# vim: ts=2 sw=2 et:

Copied: slib/repos/community-any/slib.install (from rev 1189811, slib/trunk/slib.install)
===================================================================
--- slib.install	                        (rev 0)
+++ slib.install	2022-04-25 02:21:47 UTC (rev 1189812)
@@ -0,0 +1,35 @@
+#
+# This is a bit of a chicken-and-egg problem. slib depends on some sort of scheme interpreter to be installed,
+# but when installing a new scheme interpreter, it should look for and use slib, if installed.
+#
+# This can probably be installed with a pacman hooks.
+#
+
+_new_catalog() {
+  # From https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-scheme/slib/slib-3.2.5-r1.ebuild?id=61b861acd7b49083dab687e133f30f3331cb7480
+	if [[ ! "$1" =~ ^(guile|scm)$ ]]; then
+    echo -n "(load \"/usr/share/slib/$1.init\")"
+	fi
+  echo " (require 'new-catalog) (slib:report-version)"
+}
+
+#post_upgrade () {
+  #[ ! -d /usr/share/guile/site/2.2 ] && install -dm755 /usr/share/guile/site/2.2
+  #[ -d /root/.cache/guile/ccache ] && rm -rf /root/.cache/guile/ccache || true
+  #[ -x /usr/bin/guile ] && guile -c "(use-modules (ice-9 slib)) $(_new_catalog guile-2)"
+  #[ -x /usr/bin/csi ] && csi -e "$(_new_catalog csi)" || echo no chicken
+  #[ -x /usr/bin/scm ] && scm -e "$(_new_catalog scm)" || echo no scm
+  #[ -x /usr/bin/gsi ] && gsi -e "$(_new_catalog gambit)" || echo gambit slib installation failed
+#}
+
+#post_install() {
+#  post_upgrade
+#}
+
+#pre_remove() {
+#  rm -f \
+#    /usr/share/guile/site/slibcat \
+#    /usr/share/guile/site/2.2/slibcat
+#}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list