Skip to content

Instantly share code, notes, and snippets.

@poxar
Created April 23, 2013 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poxar/5445581 to your computer and use it in GitHub Desktop.
Save poxar/5445581 to your computer and use it in GitHub Desktop.
# Contributor: delor <bartekpiech@gmail com>
pkgname=gitflow-git
pkgver=0.2.214.g15aab26
pkgrel=1
pkgdesc="Git extensions to provide high-level repository operations for Vincent Driessen's branching model."
arch=('any')
url="http://github.com/nvie/gitflow"
license=('BSD')
depends=('git')
_gitname="gitflow"
source=(git://github.com/nvie/${_gitname}.git)
md5sums=('SKIP')
pkgver() {
cd "$_gitname"
git describe --tags | sed 's/-/./g'
}
build() {
cd "$_gitname"
git submodule init
git submodule update
msg "Submodule checkout done or server timeout"
}
package() {
msg "Starting make"
cd "$_gitname"
make prefix=/${pkgdir}/usr install
install -Dm644 "$srcdir/$_gitname/LICENSE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
@kyrias
Copy link

kyrias commented Jun 15, 2013

I'd rather suggest something closer to https://gist.github.com/kyrias/5788878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment