[arch-commits] Commit in cl-flexi-streams/repos (community-any community-any/PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed May 11 03:35:32 UTC 2022
Date: Wednesday, May 11, 2022 @ 03:35:31
Author: grawlinson
Revision: 1198271
archrelease: copy trunk to community-any
Added:
cl-flexi-streams/repos/community-any/
cl-flexi-streams/repos/community-any/PKGBUILD
(from rev 1198270, cl-flexi-streams/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: cl-flexi-streams/repos/community-any/PKGBUILD (from rev 1198270, cl-flexi-streams/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-05-11 03:35:31 UTC (rev 1198271)
@@ -0,0 +1,51 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=cl-flexi-streams
+_pkgname="${pkgname#cl-}"
+pkgver=1.0.19.r4.g74a1027
+pkgrel=1
+pkgdesc='Flexible bivalent streams for Common Lisp'
+arch=('any')
+url='https://edicl.github.io/flexi-streams/'
+license=('BSD')
+depends=('common-lisp' 'cl-asdf' 'cl-trivial-gray-streams')
+makedepends=('git' 'sbcl')
+_commit='74a1027311371a57258eba1bc908e050f5702277'
+source=("$pkgname::git+https://github.com/edicl/flexi-streams#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ sed -n '/;;; Copyright/,/;;; SOFTWARE/p' flexi-streams.asd \
+ | sed 's/;;; //' \
+ > LICENSE
+}
+
+package() {
+ cd "$pkgname"
+
+ # create directories
+ install -vd \
+ "$pkgdir/usr/share/common-lisp/source/$_pkgname" \
+ "$pkgdir/usr/share/common-lisp/systems"
+
+ # library
+ cp -vr test ./*.{lisp,asd} "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+ pushd "$pkgdir/usr/share/common-lisp/systems"
+ ln -s "../source/$_pkgname/$_pkgname.asd" .
+ ln -s "../source/$_pkgname/$_pkgname-test.asd" .
+ popd
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md docs/index.html
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
More information about the arch-commits
mailing list