void-packages/srcpkgs/gitflow/template

27 lines
578 B
Text

# Template file for 'gitflow'
pkgname=gitflow
version=20140609
revision=1
noarch="yes"
hostmakedepends="perl git"
depends="git"
short_desc="Git extensions to provide high-level repository operations"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Liberal BSD"
homepage="https://github.com/nvie/gitflow"
do_fetch() {
git clone git://github.com/nvie/gitflow.git ${pkgname}-${version}
cd ${pkgname}-${version}
git submodule init
git submodule update
}
do_build() {
make ${makejobs} PREFIX=/usr
}
do_install() {
mkdir -p ${DESTDIR}
make install prefix=${DESTDIR}/usr
}