[arch-commits] Commit in cl-asdf-flv/repos (community-any community-any/PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Fri May 20 21:46:46 UTC 2022
Date: Friday, May 20, 2022 @ 21:46:45
Author: grawlinson
Revision: 1209491
archrelease: copy trunk to community-any
Added:
cl-asdf-flv/repos/community-any/
cl-asdf-flv/repos/community-any/PKGBUILD
(from rev 1209490, cl-asdf-flv/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: cl-asdf-flv/repos/community-any/PKGBUILD (from rev 1209490, cl-asdf-flv/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-05-20 21:46:45 UTC (rev 1209491)
@@ -0,0 +1,42 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Fabian Brosda <fabi3141 at gmx.de>
+
+pkgname=cl-asdf-flv
+_pkgname="${pkgname#cl-}"
+pkgver=2.1
+pkgrel=2
+pkgdesc='cl-asdf extension to provide support for file-local variables'
+arch=('any')
+url='https://github.com/didierverna/asdf-flv'
+license=('custom:FSFAP') #SPDX-ID: FSFAP
+depends=('common-lisp' 'cl-asdf')
+makedepends=('git')
+_commit='fc5b7399767ca35bfb420bbeb9e08494e441dc69'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^version-//'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # extract license
+ sed -n '/;; Copyright/,/;; without/p' asdf-flv.lisp | sed -e 's/^;; //g' > LICENSE
+}
+
+package() {
+ cd "$pkgname"
+
+ # library
+ install -vDm644 -t "$pkgdir/usr/share/common-lisp/source/$_pkgname" ./*.{lisp,asd}
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
More information about the arch-commits
mailing list