diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-22 00:18:50 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-22 00:18:50 -0600 |
commit | b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e (patch) | |
tree | 5ea72d41d0f6799dd6b2123703133a860810a023 /pcr/gitflow | |
parent | bbbfa15c7556da095dba31c83f2a73bc2aaa2009 (diff) | |
parent | fed8f532d64588f7ef94befe5b6c8c84eb3b4430 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/gitflow')
-rw-r--r-- | pcr/gitflow/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/gitflow/PKGBUILD b/pcr/gitflow/PKGBUILD new file mode 100644 index 000000000..b62042262 --- /dev/null +++ b/pcr/gitflow/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Techlive Zheng <techlivezheng@gmail.com> +# Contributor: Ernie Brodeur <ebrodeur@ujami.net> + +pkgname=gitflow +pkgver=0.4.1 +pkgrel=3 +pkgdesc='Extend git with the Gitflow branching model.' +arch=('any') +url='https://github.com/nvie/gitflow' +license=('BSD') +depends=('git' 'shflags') +source=("https://github.com/nvie/gitflow/tarball/${pkgver}/${pkgname}-${pkgver}.tar.gz") +md5sums=('adc7a52512052938a9b42ac8bd7d91dd') + +prepare() { + cd $srcdir/`find . -maxdepth 1 -type d -name nvie\*` + sed -i "s:\$GITFLOW_DIR/gitflow-shFlags:/usr/share/lib/shflags/shflags.sh:" git-flow +} + +package() { + cd $srcdir/`find . -maxdepth 1 -type d -name nvie\*` + + install -d -m 0755 $pkgdir/usr/lib/git-core + install -m 0755 git-flow $pkgdir/usr/lib/git-core + 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/lib/git-core/ +} +md5sums=('adc7a52512052938a9b42ac8bd7d91dd') |