[arch-commits] Commit in cl-babel/repos (3 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed May 25 02:39:53 UTC 2022
Date: Wednesday, May 25, 2022 @ 02:39:52
Author: grawlinson
Revision: 1210301
archrelease: copy trunk to community-any
Added:
cl-babel/repos/community-any/
cl-babel/repos/community-any/PKGBUILD
(from rev 1210300, cl-babel/trunk/PKGBUILD)
cl-babel/repos/community-any/run-tests.lisp
(from rev 1210300, cl-babel/trunk/run-tests.lisp)
----------------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
run-tests.lisp | 7 +++++++
2 files changed, 59 insertions(+)
Copied: cl-babel/repos/community-any/PKGBUILD (from rev 1210300, cl-babel/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-05-25 02:39:52 UTC (rev 1210301)
@@ -0,0 +1,52 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=cl-babel
+_pkgname="${pkgname#cl-}"
+pkgver=0.5.0.r20.gf892d05
+pkgrel=2
+pkgdesc='A charset encoding/decoding library for Common Lisp'
+arch=('any')
+url='https://babel.common-lisp.dev/'
+license=('MIT')
+depends=(
+ 'common-lisp'
+ 'cl-asdf'
+ 'cl-alexandria'
+ 'cl-trivial-features'
+ 'cl-trivial-gray-streams'
+)
+makedepends=('git')
+checkdepends=('sbcl' 'cl-hu-dwim-stefil')
+_commit='f892d0587c7f3a1e6c0899425921b48008c29ee3'
+source=(
+ "$pkgname::git+https://github.com/cl-babel/babel#commit=$_commit"
+ 'run-tests.lisp'
+)
+b2sums=('SKIP'
+ '7bec12f2bb118ff91c879a854134556e4bca5a01764bdba1c04ba3d4edcb25e8f33b2c9d8c7d574e41f526f68b9219c658135126e153691f12968c114a9c622e')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+check() {
+ cd "$pkgname"
+
+ sbcl --script ../run-tests.lisp
+}
+
+package() {
+ cd "$pkgname"
+
+ # library
+ install -vd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+ cp -vr src tests ./*.asd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYRIGHT
+}
Copied: cl-babel/repos/community-any/run-tests.lisp (from rev 1210300, cl-babel/trunk/run-tests.lisp)
===================================================================
--- community-any/run-tests.lisp (rev 0)
+++ community-any/run-tests.lisp 2022-05-25 02:39:52 UTC (rev 1210301)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "babel-tests")
+
+(uiop:quit (if (babel-tests:run) 0 1))
More information about the arch-commits
mailing list