void-packages/srcpkgs/gitflow/template

34 lines
928 B
Bash
Raw Normal View History

2013-03-26 15:54:02 +00:00
# Template file for 'gitflow'
pkgname=gitflow
2015-07-26 23:32:04 +00:00
reverts=20140609_1
version=20120925
revision=1
2015-07-26 23:32:04 +00:00
_commit=15aab26490facf285acef56cb5d61025eacb3a69
_shflags_commit=2fb06af13de884e9680f14a00c82e52a67c867f1
noarch="yes"
2015-07-26 23:32:04 +00:00
hostmakedepends="perl"
depends="git"
2013-03-26 15:54:02 +00:00
short_desc="Git extensions to provide high-level repository operations"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-03-26 15:54:02 +00:00
license="Liberal BSD"
homepage="https://github.com/nvie/gitflow"
2015-07-26 23:32:04 +00:00
distfiles="$homepage/archive/$_commit.tar.gz https://github.com/nvie/shFlags/archive/$_shflags_commit.tar.gz"
checksum="277ecb102afd45c3137d630de11ceac4b267a73d6a5f2ac41ccbd3d96b609ce7 a1c5782a78e106d0c6289a9412fffa376f4cd78f4f86af441eb7bf06cf664594"
2013-03-26 15:54:02 +00:00
2015-07-26 23:32:04 +00:00
wrksrc="$pkgname-$_commit"
post_extract() {
cd $wrksrc
rm -r shFlags
cp -r ../shFlags-$_shflags_commit $wrksrc/shFlags
2013-03-26 15:54:02 +00:00
}
do_build() {
make ${makejobs} PREFIX=/usr
}
do_install() {
mkdir -p ${DESTDIR}
make install prefix=${DESTDIR}/usr
}