rmpkg: cl-ppcre and dependencies

This commit is contained in:
George Rawlinson 2022-05-11 19:15:14 +12:00
parent 1657875073
commit 269bbb61d1
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
5 changed files with 0 additions and 77 deletions

9
.gitmodules vendored
View File

@ -49,21 +49,12 @@
[submodule "cl-bordeaux-threads"]
path = cl-bordeaux-threads
url = ssh://aur@aur.archlinux.org/cl-bordeaux-threads.git
[submodule "cl-flexi-streams"]
path = cl-flexi-streams
url = ssh://aur@aur.archlinux.org/cl-flexi-streams.git
[submodule "cl-ironclad"]
path = cl-ironclad
url = ssh://aur@aur.archlinux.org/cl-ironclad.git
[submodule "cl-rt"]
path = cl-rt
url = ssh://aur@aur.archlinux.org/cl-rt.git
[submodule "cl-trivial-gray-streams"]
path = cl-trivial-gray-streams
url = ssh://aur@aur.archlinux.org/cl-trivial-gray-streams.git
[submodule "cl-unicode"]
path = cl-unicode
url = ssh://aur@aur.archlinux.org/cl-unicode.git
[submodule "cloudflared"]
path = cloudflared
url = ssh://aur@aur.archlinux.org/cloudflared.git

@ -1 +0,0 @@
Subproject commit f995024003529ace1854326332c744ff5931c6f9

View File

@ -1,65 +0,0 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgbase=cl-ppcre
pkgname=('cl-ppcre' 'cl-ppcre-unicode')
pkgver=2.1.1.r3.gb4056c5
pkgrel=1
pkgdesc='Perl-compatible portable regexp library for Common Lisp'
arch=('any')
url='https://edicl.github.io/cl-ppcre/'
license=('BSD')
depends=('common-lisp' 'cl-asdf')
makedepends=('git' 'sbcl')
_commit='b4056c5aecd9304e80abced0ef9c89cd66ecfb5e'
source=("$pkgbase::git+https://github.com/edicl/cl-ppcre#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgbase"
git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
}
package_cl-ppcre() {
cd "$pkgbase"
# create directories
install -vd \
"$pkgdir/usr/share/common-lisp/source/$pkgname" \
"$pkgdir/usr/share/common-lisp/systems"
# library
cp -vr test ./*.lisp "$pkgname.asd" "$pkgdir/usr/share/common-lisp/source/$pkgname"
pushd "$pkgdir/usr/share/common-lisp/systems"
ln -s "../source/$pkgname/$pkgname.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
}
package_cl-ppcre-unicode() {
depends+=('cl-unicode' 'cl-ppcre')
pkgdesc+=' (Unicode)'
cd "$pkgbase"
# create directories
install -vd \
"$pkgdir/usr/share/common-lisp/source/$pkgname" \
"$pkgdir/usr/share/common-lisp/systems"
# library
install -vDm644 -t "$pkgdir/usr/share/common-lisp/source/$pkgname" "$pkgname"/*.lisp "$pkgname.asd"
pushd "$pkgdir/usr/share/common-lisp/systems"
ln -s "../source/$pkgname/$pkgname.asd" .
popd
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}

@ -1 +0,0 @@
Subproject commit b41865c184d0a032c6fccf29ee66f07137886d54

@ -1 +0,0 @@
Subproject commit 3329a56dff42ec13c59ebb4c4f46d88ae0bd2966