From 5e73dc5ebdcf6015b046a3e88f2ce1ee02da30f6 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 16 Aug 2026 16:26:45 -0700 Subject: [PATCH] Add clash --- arch/clash/.gitignore | 1 + arch/clash/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 arch/clash/.gitignore create mode 100644 arch/clash/PKGBUILD 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 +}