rmpkg: packages recently added to AUR

This commit is contained in:
George Rawlinson 2022-05-13 00:14:18 +00:00
parent 2555b267ce
commit e81428831b
Signed by: grawlinson
GPG key ID: E0959FEA8B550539
3 changed files with 0 additions and 145 deletions

View file

@ -1,52 +0,0 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=cl-global-vars
_pkgname="${pkgname#cl-}"
pkgver=1.0.0.r2.gc749f32
_pkgver='1.0.0'
_pkgcommit='cdb24d3cc7128f23af8f80d0b4e0dbc9c2d9a625'
pkgrel=1
pkgdesc='Define efficient global variables in Common Lisp'
arch=('any')
url='https://github.com/lmj/global-vars'
license=('MIT')
depends=('common-lisp' 'cl-asdf')
makedepends=('git' 'sbcl')
_commit='c749f32c9b606a1457daa47d59630708ac0c266e'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
printf '%s.r%s.g%s' "$_pkgver" "$(git rev-list --count ${_pkgcommit}..HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$pkgname"
# extract license
sed -n '/;;; Copyright/,/;;; DEALINGS/p' global-vars.lisp | sed -e 's/^;; //g' > LICENSE
}
package() {
cd "$pkgname"
# 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" ./*.{lisp,asd}
pushd "$pkgdir/usr/share/common-lisp/systems"
ln -s "../source/$_pkgname"/*.asd .
popd
# documentation
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}

View file

@ -1,46 +0,0 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=cl-trivial-backtrace
_pkgname="${pkgname#cl-}"
pkgver=1.1.0.r20.g6eb65bd
_pkgcommit='3d39b1101e6fc59ef57c0ef049f3411d6da3e878'
_pkgver=1.1.0
pkgrel=1
pkgdesc='Portable API to work with backtraces in Common Lisp'
arch=('any')
url='https://github.com/gwkkwg/trivial-backtrace'
license=('MIT')
depends=('common-lisp' 'cl-asdf')
makedepends=('git' 'sbcl')
#checkdepends=('cl-lift')
_commit='6eb65bde7229413040c81d42ea22f0e4c9c8cfc9'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
printf '%s.r%s.g%s' "$_pkgver" "$(git rev-list --count ${_pkgcommit}..HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
# create directories
install -vd \
"$pkgdir/usr/share/common-lisp/source/$_pkgname" \
"$pkgdir/usr/share/common-lisp/systems"
# library
cp -vr \
dev test \
lift-standard.config ./*.asd \
"$pkgdir/usr/share/common-lisp/source/$_pkgname"
pushd "$pkgdir/usr/share/common-lisp/systems"
ln -s "../source/$_pkgname"/*.asd .
popd
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
}

View file

@ -1,47 +0,0 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=cl-trivial-features
_pkgname="${pkgname#cl-}"
pkgver=1.0.r3.g35c5eeb
pkgrel=1
pkgdesc='Ensure consistent features across multiple Common Lisp implementations'
arch=('any')
url='https://github.com/trivial-features/trivial-features'
license=('MIT')
depends=('common-lisp' 'cl-asdf')
makedepends=('git' 'sbcl')
#checkdepends=('cl-rt' 'cl-cffi' 'cl-alexandria')
_commit='35c5eeb21a51671ffbfcb591f84498e782478a32'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
}
package() {
cd "$pkgname"
# create directories
install -vd \
"$pkgdir/usr/share/common-lisp/source/$_pkgname" \
"$pkgdir/usr/share/common-lisp/systems"
# library
cp -vr \
src tests \
./*.{lisp,asd} \
"$pkgdir/usr/share/common-lisp/source/$_pkgname"
pushd "$pkgdir/usr/share/common-lisp/systems"
ln -s "../source/$_pkgname"/*.asd .
popd
# documentation
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYRIGHT
}