diff options
author | Luis Pérez | 2021-06-18 12:31:58 -0600 |
---|---|---|
committer | Luis Pérez | 2021-06-18 12:31:58 -0600 |
commit | 5077f305148a8db1f45bff4c4aa90d6194b058ae (patch) | |
tree | 047d5d471909ed5ffb21818284db31424d0bcc84 | |
parent | 53190d54ca7d54dce5a8b3b1ad05b5109e8cbb41 (diff) | |
download | aur-5077f305148a8db1f45bff4c4aa90d6194b058ae.tar.gz |
adding docs and completions
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 10 insertions, 6 deletions
@@ -1,15 +1,14 @@ pkgbase = doggo pkgdesc = Command-line DNS Client for Humans. pkgver = 0.4.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mr-karan/doggo arch = x86_64 license = GPL makedepends = go provides = doggo conflicts = doggo-git - source = https://github.com/mr-karan/doggo/archive//v0.4.0.tar.gz + source = https://github.com/mr-karan/doggo/archive/v0.4.0.tar.gz sha256sums = 8d7e6ff2538e9e6b86d4af734ccd15282347f307eae275076742f9105404d2dc pkgname = doggo - @@ -1,13 +1,15 @@ # Maintainer: Luis Pérez <luis.perez@protonmail.com> +# Contributor: djmattyg007 <internet@matthewgamble.net> + pkgname=doggo pkgver=0.4.0 -pkgrel=1 +pkgrel=2 pkgdesc='Command-line DNS Client for Humans.' arch=('x86_64') url="https://github.com/mr-karan/doggo" license=('GPL') makedepends=('go') -source=("${url}/archive//v${pkgver}.tar.gz") +source=("${url}/archive/v${pkgver}.tar.gz") conflicts=('doggo-git') provides=('doggo') sha256sums=('8d7e6ff2538e9e6b86d4af734ccd15282347f307eae275076742f9105404d2dc') @@ -30,5 +32,8 @@ build() { package() { cd "$pkgname-$pkgver" - install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname + install -Dm755 build/"$pkgname" "$pkgdir"/usr/bin/"$pkgname" + install -Dm644 README.md "$pkgdir"/usr/share/doc/"$pkgname"/README.md + install -Dm644 completions/"${pkgname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}" + install -Dm644 completions/"${pkgname}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" } |