void-packages/srcpkgs/gitflow/template

28 lines
581 B
Bash
Raw Normal View History

2013-03-26 16:54:02 +01:00
# Template file for 'gitflow'
pkgname=gitflow
version=20140609
revision=1
noarch="yes"
hostmakedepends="perl git"
depends="git"
2013-03-26 16:54:02 +01:00
short_desc="Git extensions to provide high-level repository operations"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-03-26 16:54:02 +01:00
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
2013-03-26 16:54:02 +01:00
}
do_build() {
make ${makejobs} PREFIX=/usr
}
do_install() {
mkdir -p ${DESTDIR}
make install prefix=${DESTDIR}/usr
}