diff --git a/arch/clash/.gitignore b/arch/clash/.gitignore new file mode 100644 index 0000000..79dc2f9 --- /dev/null +++ b/arch/clash/.gitignore @@ -0,0 +1 @@ +cl-xdg-trash/ diff --git a/arch/clash/PKGBUILD b/arch/clash/PKGBUILD new file mode 100644 index 0000000..47eb38f --- /dev/null +++ b/arch/clash/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Alexander Rosenberg + +_pkgname='clash' +pkgname=$_pkgname-git +pkgver=47 +pkgrel=1 +pkgdesc='Command-line tool for trashing and restoring files' +url='https://git.zander.im/Zander671/cl-xdg-trash' +arch=('any') +license=('GPL-3.0-or-later') +provides=('clash') +makedepends=('quicklisp' 'sbcl' 'libfixposix' 'go-md2man') +source=("git+${url}.git") +sha256sums=('SKIP') +options=(!strip) + +pkgver(){ + cd "cl-xdg-trash" + git rev-list --count HEAD +} + +build() { + cd cl-xdg-trash/clash + make deploy-build +} + +package() { + cd cl-xdg-trash/clash + make PREFIX="$pkgdir/usr" deploy-install +}