[arch-commits] Commit in cmucl/repos (multilib-x86_64 multilib-x86_64/PKGBUILD)

Jürgen Hötzel juergen at archlinux.org
Sat Jun 11 08:48:07 UTC 2016


    Date: Saturday, June 11, 2016 @ 10:48:07
  Author: juergen
Revision: 179672

archrelease: copy trunk to multilib-x86_64

Added:
  cmucl/repos/multilib-x86_64/
  cmucl/repos/multilib-x86_64/PKGBUILD
    (from rev 179671, cmucl/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: cmucl/repos/multilib-x86_64/PKGBUILD (from rev 179671, cmucl/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-x86_64/PKGBUILD	2016-06-11 08:48:07 UTC (rev 179672)
@@ -0,0 +1,50 @@
+# Contributor: John Proctor <jproctor at prium.net>
+# Contributor: Alain Kalker <a.c.kalker at gmail.com>
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=cmucl
+pkgver=21a
+pkgrel=1
+pkgdesc="CMU Common Lisp"
+depends_i686=('glibc' 'lesstif')
+depends_x86_64=('lib32-glibc' 'lesstif')
+provides=('common-lisp')
+makedepends=('sed' 'bc')
+license=('custom')
+#license PublicDomain
+source=("https://common-lisp.net/project/cmucl/downloads/release/${pkgver}/cmucl-src-${pkgver}.tar.bz2"
+        "https://common-lisp.net/project/cmucl/downloads/release/${pkgver}/cmucl-${pkgver}-x86-linux.tar.bz2")
+sha256sums=('41604a4f828a134dbf8a58623f45bd81b76ae05fc5c4cea5ccb74edfdc9e3167'
+            '02d00c025723e7a2fa7a44e43d3f27ec39c9b871ea0332e472a439ada2620d71')
+
+url="https://www.cons.org/cmucl/"
+arch=('i686' 'x86_64')
+
+prepare() {
+  cd "${srcdir}"
+
+  if [[ $CARCH == "i686" ]]; then
+    sed -i 's|i386\*|i686\*|' bin/build-all.sh
+  fi
+}
+
+build() {
+  cd "${srcdir}"
+  export CMUCLLIB="${srcdir}"/lib/cmucl/lib
+  # Build using binary-dist lisp
+  ./bin/build-all.sh -o "${srcdir}"/bin/lisp
+}
+
+package() {
+  cd "${srcdir}"
+  # install distribution
+  ./bin/make-dist.sh -I "${pkgdir}"/usr -M share/man/man1 linux-4
+  # move docs
+  mv "${pkgdir}"/usr/doc "${pkgdir}"/usr/share/
+  # backwards compatibility
+  ln -sf lisp "${pkgdir}"/usr/bin/cmucl
+  # license
+  install -D -m644 "${srcdir}"/src/general-info/COPYRIGHTS \
+                   "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+



More information about the arch-commits mailing list