void-packages/srcpkgs/gitflow/template

35 lines
746 B
Plaintext
Raw Normal View History

2013-03-26 16:54:02 +01:00
# 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"
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
}
gitflow_package() {
noarch="yes"
depends="git"
pkg_install() {
vmove usr
}
}