Merge branch 'master' of github.com:xtraeme/xbps-packages

* 'master' of github.com:xtraeme/xbps-packages:
  New package: gitflow-20120925
This commit is contained in:
Juan RP 2013-03-26 21:58:32 +01:00
commit 3c075145fd

31
srcpkgs/gitflow/template Normal file
View file

@ -0,0 +1,31 @@
# Template file for 'gitflow'
pkgname=gitflow
version=20120925
revision=1
short_desc="Git extensions to provide high-level repository operations"
maintainer="pancake <pancake@nopcode.org>"
license="Liberal BSD"
homepage="https://github.com/nvie/gitflow"
makedepends="git"
depends="git"
noarch=yes
checksum=654604b5ead726de0ebb1932b49785a6146c59d312f4931080a04e86b7afb177
nofetch=yes
noextract=yes
do_fetch() {
git clone git://github.com/nvie/gitflow.git ${pkgname}-${version}
cd ${pkgname}-${version}
git reset --hard 15aab26490facf285acef56cb5d61025eacb3a69
git submodule init && git submodule update
}
do_build() {
make ${makejobs} PREFIX=/usr
}
do_install() {
mkdir -p ${DESTDIR}
make install prefix=${DESTDIR}/usr
}