diff options
author | Caleb Maclennan | 2022-01-19 13:27:46 +0300 |
---|---|---|
committer | Caleb Maclennan | 2022-01-19 13:27:46 +0300 |
commit | 98c29db6438c0467f8ff45e734e23edf40f50901 (patch) | |
tree | 1a30b62ea667ffe1df5b691fa0045644e8193db4 | |
parent | 5fa042b9de47f3d58c26cb1093afca4d3b2f9d38 (diff) | |
download | aur-98c29db6438c0467f8ff45e734e23edf40f50901.tar.gz |
upgpkg: git-town 7.6.0-3
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = git-town pkgdesc = Generic, high-level Git workflow support pkgver = 7.6.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/git-town/git-town arch = x86_64 license = MIT @@ -3,7 +3,7 @@ pkgname=git-town pkgver=7.6.0 -pkgrel=2 +pkgrel=3 pkgdesc='Generic, high-level Git workflow support' url="https://github.com/$pkgname/$pkgname" arch=(x86_64) @@ -25,10 +25,16 @@ build() { -modcacherw \ -ldflags "-X $_varpath.version=$pkgver -X $_varpath.buildDate=$_date -linkmode external -extldflags \"${LDFLAGS}\"" \ . + for s in bash fish zsh; do + ./$pkgname completions $s > completions.$s + done } package() { cd "$_archive" install -Dm0755 -t "$pkgdir/usr/bin/" "$pkgname" install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE + install -Dm0644 completions.bash "$pkgdir/usr/share/bash-completion/completions/$pkgname" + install -Dm0644 completions.fish "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish" + install -Dm0644 completions.zsh "$pkgdir/usr/share/zsh/site-functions/_$pkgname" } |