Package Details: cl-bordeaux-threads 0.8.5-1

Git Clone URL: https://aur.archlinux.org/cl-bordeaux-threads.git (read-only, click to copy)
Package Base: cl-bordeaux-threads
Description: Portable shared-state concurrency for Common Lisp
Upstream URL: https://common-lisp.net/project/bordeaux-threads/
Licenses: MIT
Submitter: DacodaS
Maintainer: DacodaS
Last Packager: DacodaS
Votes: 1
Popularity: 0.000003
First Submitted: 2017-02-28 07:01
Last Updated: 2017-02-28 07:01

Latest Comments

fabi commented on 2020-07-05 19:23

Hi,

I made a few general adjustments based on the lisp package guidelines and updated the version to v0.8.8. Here is the patch for the changes:

diff --git c/PKGBUILD w/PKGBUILD
index da8f311..25d2bfc 100644
--- c/PKGBUILD
+++ w/PKGBUILD
@@ -1,13 +1,14 @@
 # Maintainer: Dacoda Strack <dacoda.strack@gmail.com>

 pkgname=cl-bordeaux-threads
-pkgver=0.8.5
+_pkgname=${pkgname#cl-}
+pkgver=0.8.8
 pkgrel=1
 pkgdesc="Portable shared-state concurrency for Common Lisp"
 arch=('any')
 url="https://common-lisp.net/project/bordeaux-threads/"
 license=('MIT')
-depends=('cl-alexandria')
+depends=('common-lisp' 'cl-alexandria')
 # makedepends=()
 # checkdepends=()
 # optdepends=()
@@ -18,34 +19,34 @@ conflicts=()
 # options=()
 # install=
 # changelog=
-source=("git+https://github.com/sionescu/bordeaux-threads.git#commit=92e6a89486a9469a36b4c0f73f4efc38f4ddeecc")
+source=("git+https://github.com/sionescu/bordeaux-threads.git#commit=076fe2380abbc59b06e495dc7a35aea8eb26ba3b")
 # noextract=()
-md5sums=(SKIP)
+md5sums=('SKIP')
 # validpgpkeys=()

 pkgver() {
-  cd ${pkgname#cl-}
+  cd ${_pkgname}
   echo $(cat version.sexp | tail -n1 | sed -e 's/\"\(.*\)\"/\1/')
 }

 package() {
   # cd into source, removing cl- prefix from package name
-  cd ${pkgname#cl-}
+  cd ${_pkgname}

   # install documentation
-  install -d ${pkgdir}/usr/share/doc/$pkgname/
-  install -m644 -t ${pkgdir}/usr/share/doc/$pkgname/ site/*
+  install -d ${pkgdir}/usr/share/doc/$_pkgname/
+  install -m644 -t ${pkgdir}/usr/share/doc/$_pkgname/ site/*

   # install sources
-  install -d ${pkgdir}/usr/share/common-lisp/source/${pkgname}
-  install -d ${pkgdir}/usr/share/common-lisp/source/${pkgname}/src
+  install -d ${pkgdir}/usr/share/common-lisp/source/${_pkgname}
+  install -d ${pkgdir}/usr/share/common-lisp/source/${_pkgname}/src
   install -d ${pkgdir}/usr/share/common-lisp/systems

-  install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname}/src src/*.lisp
-  install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} version.sexp
-  install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} *.asd
+  install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_pkgname}/src src/*.lisp
+  install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_pkgname} version.sexp
+  install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_pkgname} *.asd

   # link asd files
   cd ${pkgdir}/usr/share/common-lisp/systems
-  ln -s ../source/${pkgname}/*.asd .
+  ln -s ../source/${_pkgname}/*.asd .
 }