void-packages/srcpkgs/gitflow/template

28 lines
581 B
Bash

# 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@voidlinux.eu>"
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
}