void-packages/srcpkgs/gitflow/template

28 lines
688 B
Text
Raw Normal View History

2013-03-26 15:54:02 +00:00
# Template file for 'gitflow'
pkgname=gitflow
version=20120925
revision=1
noarch="yes"
depends="git"
2013-03-26 15:54:02 +00:00
short_desc="Git extensions to provide high-level repository operations"
maintainer="pancake <pancake@nopcode.org>"
license="Liberal BSD"
homepage="https://github.com/nvie/gitflow"
checksum=654604b5ead726de0ebb1932b49785a6146c59d312f4931080a04e86b7afb177
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
}