diff options
author | Adrien Smith | 2022-05-05 17:59:32 -0600 |
---|---|---|
committer | Adrien Smith | 2022-05-05 17:59:32 -0600 |
commit | 83f71e36607ab23ab16d161731ecead96ed547a9 (patch) | |
tree | 950ec7713dad025ae0d6191325334c428f0ab441 | |
parent | ee03a7c89784c355fd4cab297e0eada2771ffad0 (diff) | |
download | aur-83f71e36607ab23ab16d161731ecead96ed547a9.tar.gz |
upgpkg: tmux-bash-completion-git r16.f5d5323-2
Fix source URL and simplify package function
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 8 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = tmux-bash-completion-git pkgdesc = Bash completion for tmux pkgver = r16.f5d5323 - pkgrel = 1 + pkgrel = 2 url = https://github.com/imomaliev/tmux-bash-completion arch = any license = GPL2 @@ -10,7 +10,7 @@ pkgbase = tmux-bash-completion-git depends = tmux provides = tmux-bash-completion conflicts = tmux-bash-completion - source = git+https://github.com/imomaliev/tmux-bash-completion - md5sums = SKIP + source = git+https://github.com/imomaliev/tmux-bash-completion.git + sha256sums = SKIP pkgname = tmux-bash-completion-git @@ -4,7 +4,7 @@ pkgname=tmux-bash-completion-git pkgver=r16.f5d5323 -pkgrel=1 +pkgrel=2 pkgdesc="Bash completion for tmux" arch=('any') url="https://github.com/imomaliev/tmux-bash-completion" @@ -13,8 +13,8 @@ depends=('bash-completion' 'tmux') makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=("git+$url") -md5sums=('SKIP') +source=("git+$url.git") +sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" @@ -22,8 +22,6 @@ pkgver() { } package() { - cd "${pkgname%-git}/completions" - for file in * ; do - install -Dm644 "$file" "$pkgdir/usr/share/bash-completion/completions/$file" - done + cd "${pkgname%-git}" + install -Dm644 -t "$pkgdir/usr/share/bash-completion/completions/" completions/* } |