diff options
author | George Rawlinson | 2022-05-13 00:19:02 +0000 |
---|---|---|
committer | George Rawlinson | 2022-05-13 00:19:02 +0000 |
commit | 101da7e151020dba393f202e5d7157d4342fa799 (patch) | |
tree | deb0677ddfb9db04a5d1309442248bb9327731a3 /PKGBUILD | |
parent | ded1a76719e05717af3099b76fb059ac841706f5 (diff) | |
download | aur-cl-bordeaux-threads.tar.gz |
upgpkg: cl-bordeaux-threads 0.8.8-4
* Add missing dependencies.
* Add tests and related dependencies.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -4,13 +4,21 @@ pkgname=cl-bordeaux-threads _pkgname="${pkgname#cl-}" pkgver=0.8.8 -pkgrel=3 +pkgrel=4 pkgdesc='Portable shared-state concurrency for Common Lisp' arch=('any') url='https://sionescu.github.io/bordeaux-threads/' license=('MIT') -depends=('common-lisp' 'cl-asdf' 'cl-alexandria') +depends=( + 'common-lisp' + 'cl-asdf' + 'cl-alexandria' + 'cl-global-vars' + 'cl-trivial-features' + 'cl-trivial-garbage' +) makedepends=('git' 'sbcl') +checkdepends=('cl-fiveam') _commit='076fe2380abbc59b06e495dc7a35aea8eb26ba3b' source=("$pkgname::git+https://github.com/sionescu/bordeaux-threads#commit=$_commit") md5sums=('SKIP') @@ -21,6 +29,18 @@ pkgver() { git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g' } +check() { + cd "$pkgname" + + sbcl \ + --eval '(require "asdf")' \ + --eval '(push (uiop/os:getcwd) asdf:*central-registry*)' \ + --eval '(asdf:load-system "bordeaux-threads/test")' \ + --eval '(asdf:load-system "fiveam")' \ + --eval '(unless (fiveam:run :bordeaux-threads) (uiop:quit 1))' \ + --quit +} + package() { cd "$pkgname" |