updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gitflow / PKGBUILD
blobed265ffbfb831686e6d2bf48909b68dde40d742f
1 # Maintainer: Ernie Brodeur <ebrodeur@ujami.net>
3 pkgname=gitflow
4 pkgver=0.4.1
5 pkgrel=2
6 pkgdesc='Extend git with the Gitflow branching model.'
7 arch=('any')
8 url='https://github.com/nvie/gitflow'
9 license=('BSD')
10 depends=('git' 'shflags')
11 source=("https://github.com/nvie/gitflow/tarball/${pkgver}/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('adc7a52512052938a9b42ac8bd7d91dd')
13 package() {
14   cd $srcdir/`find . -maxdepth 1 -type d -name nvie\*` 
15   # this is because I split shflags into a proper package.
16   sed -i -e "s/.*gitflow-shFlags.*/. \"shflags.sh\"/" git-flow
17   install -d -m 0755 $pkgdir/usr/bin
18   install -m 0755 git-flow $pkgdir/usr/bin
19   install -m 0644 git-flow-feature git-flow-hotfix git-flow-release git-flow-support git-flow-version git-flow-init gitflow-common $pkgdir/usr/bin