diff options
author | Orhun Parmaksız | 2023-03-12 14:09:50 +0300 |
---|---|---|
committer | Orhun Parmaksız | 2023-03-12 14:09:50 +0300 |
commit | 31e9d3f6737a7f8d8e47a2b440951f5c0eb2e825 (patch) | |
tree | 610699566032a61bb7ca789b53d10200fb59d536 | |
download | aur-31e9d3f6737a7f8d8e47a2b440951f5c0eb2e825.tar.gz |
Initial upload: halp-bin 0.1.0-1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8924524e4111 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = halp-bin + pkgdesc = A CLI tool to get help with CLI tools + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/orhun/halp + arch = x86_64 + license = MIT + license = Apache + depends = gcc-libs + provides = halp + conflicts = halp + source_x86_64 = halp-bin-0.1.0.tar.gz::https://github.com/orhun/halp/releases/download/v0.1.0/halp-0.1.0-x86_64-unknown-linux-gnu.tar.gz + sha512sums_x86_64 = 038f7bbba3d8d7eddc6728089ba17d3a4271557321331a7dc2d9e7521c07aa3fae94931ec569cb5e19ef2394c1d76e054e426efc4bdd3a0f53b858f065c3d071 + +pkgname = halp-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0c220761481d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: orhun <orhunparmaksiz@gmail.com> +# https://github.com/orhun/pkgbuilds + +pkgname=halp-bin +pkgver=0.1.0 +pkgrel=1 +pkgdesc="A CLI tool to get help with CLI tools" +arch=('x86_64') +url="https://github.com/orhun/halp" +license=('MIT' 'Apache') +depends=('gcc-libs') +conflicts=("${pkgname%-bin}") +provides=("${pkgname%-bin}") +source_x86_64=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/${pkgname%-bin}-$pkgver-x86_64-unknown-linux-gnu.tar.gz") +sha512sums_x86_64=('038f7bbba3d8d7eddc6728089ba17d3a4271557321331a7dc2d9e7521c07aa3fae94931ec569cb5e19ef2394c1d76e054e426efc4bdd3a0f53b858f065c3d071') + +package() { + cd "${pkgname%-bin}-$pkgver" + install -Dm 755 "${pkgname%-bin}" -t "${pkgdir}/usr/bin" + install -Dm 644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md" + install -Dm 644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm 644 "completions/${pkgname%-bin}.bash" "$pkgdir/usr/share/bash-completion/completions/${pkgname%-bin}" + install -Dm 644 "completions/${pkgname%-bin}.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d" + install -Dm 644 "completions/_${pkgname%-bin}" -t "$pkgdir/usr/share/zsh/site-functions" + install -Dm 644 "man/${pkgname%-bin}.1" -t "$pkgdir/usr/share/man/man1" +} |