diff options
author | Adrien Smith | 2020-05-11 15:50:33 -0600 |
---|---|---|
committer | Adrien Smith | 2020-05-11 15:50:33 -0600 |
commit | b253b6bef0703a0fac5cad8af3928580fa156e10 (patch) | |
tree | 10b1160f8d28ba98570b80a9be649fcbf7bb8318 | |
parent | 04fb4a245c049c5d04fca1f46003c31e9ecc6065 (diff) | |
download | aur-b253b6bef0703a0fac5cad8af3928580fa156e10.tar.gz |
Move to VCS package and make other improvements
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 24 insertions, 20 deletions
@@ -1,15 +1,17 @@ -pkgbase = tmux-bash-completion +pkgbase = tmux-bash-completion-git pkgdesc = Bash completion for tmux - pkgver = r13.847eda6 + pkgver = r16.f5d5323 pkgrel = 1 url = https://github.com/imomaliev/tmux-bash-completion arch = any - license = custom + license = GPL2 makedepends = git depends = bash-completion depends = tmux - source = git+https://github.com/imomaliev/tmux-bash-completion.git + provides = tmux-bash-completion + conflicts = tmux-bash-completion + source = git+https://github.com/imomaliev/tmux-bash-completion md5sums = SKIP -pkgname = tmux-bash-completion +pkgname = tmux-bash-completion-git @@ -1,26 +1,28 @@ -# Maintainer: Alif <alive4ever at live dot com> +# Maintainer: Adrien Smith <adrien at bouldersmiths.com> +# Contributor: Alif <alive4ever at live dot com> -pkgname=tmux-bash-completion -pkgdesc="Bash completion for tmux" -pkgver=r13.847eda6 +pkgname=tmux-bash-completion-git +pkgver=r16.f5d5323 pkgrel=1 -arch=("any") +pkgdesc="Bash completion for tmux" +arch=('any') url="https://github.com/imomaliev/tmux-bash-completion" -license=("custom") +license=('GPL2') +depends=('bash-completion' 'tmux') makedepends=('git') -depends=("bash-completion" "tmux") -source=('git+https://github.com/imomaliev/tmux-bash-completion.git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("git+$url") md5sums=('SKIP') pkgver() { - cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { - cd "$pkgname/completions" - for file in * ; do - install -Dm644 $file "$pkgdir/usr/share/bash-completion/completions/$file" - done + cd "${pkgname%-git}/completions" + for file in * ; do + install -Dm644 "$file" "$pkgdir/usr/share/bash-completion/completions/$file" + done } - |