Created
April 23, 2013 17:25
-
-
Save poxar/5445626 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Anatoly Kamchatnov <akamch at gmail dot com> | |
pkgname=git-flow-completion-git | |
pkgver=0.4.2.1.b93f380 | |
pkgrel=1 | |
pkgdesc='git-flow shell completions' | |
arch=('any') | |
url='http://github.com/bobthecow/git-flow-completion' | |
license=('MIT') | |
depends=('gitflow-git') | |
_gitname='git-flow-completion' | |
source=(git://github.com/bobthecow/${_gitname}.git) | |
md5sums=('SKIP') | |
pkgver() { | |
cd $_gitname | |
echo $(git describe --tags).$(git rev-parse --short master) | |
} | |
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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment