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