From bcb71821dc5ec9529c5fb5f73cc25a9dc07058ec Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sat, 23 Dec 2023 18:07:29 -0800 Subject: [PATCH] testing/dasht: new aport --- testing/dasht/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/dasht/APKBUILD diff --git a/testing/dasht/APKBUILD b/testing/dasht/APKBUILD new file mode 100644 index 00000000000..bbf3e93464c --- /dev/null +++ b/testing/dasht/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Clayton Craft +# Maintainer: Clayton Craft +pkgname=dasht +pkgver=2.4.0 +pkgrel=0 +pkgdesc="collection of shell scripts for searching, browsing, and managing API documentation from Dash" +url="https://github.com/sunaku/dasht" +arch="noarch" +license="ISC" +depends=" + socat + sqlite + w3m + wget +" +options="!check" # no tests +subpackages="$pkgname-zsh-completion $pkgname-doc" +source="https://github.com/sunaku/dasht/archive/v$pkgver/dasht-$pkgver.tar.gz" + +package() { + mkdir -p "$pkgdir"/usr/share/man + mkdir -p "$pkgdir"/usr/share/zsh/site-functions + mv bin "$pkgdir"/usr/ + mv man "$pkgdir"/usr/share/ + mv etc/zsh/completions/* "$pkgdir"/usr/share/zsh/site-functions/ +} + +sha512sums=" +4810fa05df78179d268bd2d2bbe4d821ef7330e837aa1b76034edd79add34e4087d6a0983c34504f905adf0ccee9515c88e70cbe330cdc68c5be33deb12a3166 dasht-2.4.0.tar.gz +"