-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
38 lines (33 loc) · 963 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Template file for 'gitflow'
pkgname=gitflow
reverts=20140609_1
version=20120925
revision=3
_commit=15aab26490facf285acef56cb5d61025eacb3a69
_shflags_commit=2fb06af13de884e9680f14a00c82e52a67c867f1
create_wrksrc=yes
hostmakedepends="perl"
depends="git"
short_desc="Git extensions to provide high-level repository operations"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/nvie/gitflow"
distfiles="${homepage}/archive/${_commit}.tar.gz
https://github.com/nvie/shFlags/archive/${_shflags_commit}.tar.gz"
checksum="277ecb102afd45c3137d630de11ceac4b267a73d6a5f2ac41ccbd3d96b609ce7
a1c5782a78e106d0c6289a9412fffa376f4cd78f4f86af441eb7bf06cf664594"
post_extract() {
mv gitflow-${_commit}/* .
rmdir shFlags
mv shFlags-$_shflags_commit $wrksrc/shFlags
}
do_build() {
make ${makejobs} PREFIX=/usr
}
do_install() {
mkdir -p ${DESTDIR}
make install prefix=${DESTDIR}/usr
}
post_install() {
vlicense LICENSE
}