blob: 230d7e9374032788158b50e214c3dc7ebc347aba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
pkgname=git-flow-completion-git
pkgver=1.1.0.2.gcba3ad7
pkgrel=1
pkgdesc='git-flow shell completions'
arch=('any')
url='http://github.com/bobthecow/git-flow-completion'
license=('MIT')
depends=('gitflow-avh')
_gitname='git-flow-completion'
source=(git://github.com/bobthecow/${_gitname}.git)
md5sums=('SKIP')
pkgver() {
cd $_gitname
echo $(git describe --tags | sed s/-/./g)
}
package() {
cd "$_gitname"
install -D -m644 git-flow-completion.bash $pkgdir/etc/bash_completion.d/git-flow-completion.bash
install -D -m644 git-flow-completion.zsh $pkgdir/usr/share/git-flow/git-flow-completion.zsh
install -D -m644 git.fish $pkgdir/usr/share/fish/completions/git-flow.fish
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|