New package: gitolite-3.6.4.

This commit is contained in:
Steve Prybylski 2015-12-16 12:53:47 -05:00
parent 4248468358
commit 22c92c9fe0
1 changed files with 26 additions and 0 deletions

26
srcpkgs/gitolite/template Normal file
View File

@ -0,0 +1,26 @@
# Template file for 'gitolite'
pkgname=gitolite
version=3.6.4
revision=1
noarch=yes
build_style=fetch
system_accounts="gitolite"
gitolite_homedir="/var/lib/gitolite"
gitolite_shell="/bin/sh"
make_dirs="/var/lib/gitolite 0750 gitolite gitolite"
depends="git perl"
short_desc="Access control layer on top of git"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="http://gitolite.com/gitolite/"
distfiles="https://github.com/sitaramc/gitolite/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=15b19181dcc00233e4d031f07d769cf930e93963a925a71d684748068f38dd63
do_install() {
tar -xzvf ${pkgname}-${version}.tar.gz
vmkdir usr/lib/gitolite
vmkdir usr/bin
vcopy ${pkgname}-${version}/src/* usr/lib/gitolite
ln -sf ../../usr/lib/gitolite/gitolite ${DESTDIR}/usr/bin/gitolite
}