void-packages/srcpkgs/gitolite/template

27 lines
819 B
Bash
Raw Normal View History

2015-12-16 18:53:47 +01:00
# Template file for 'gitolite'
pkgname=gitolite
2016-02-21 10:07:45 +01:00
version=3.6.5
2015-12-16 18:53:47 +01:00
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"
2016-02-21 10:07:45 +01:00
checksum=15f367591cc6782cde8b0b8c2206ada5714e83998b96de61838d64ff0878f876
2015-12-16 18:53:47 +01:00
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
}