diff --git a/srcpkgs/gitolite/template b/srcpkgs/gitolite/template index 0d5fc405c57..0374c3a991c 100644 --- a/srcpkgs/gitolite/template +++ b/srcpkgs/gitolite/template @@ -1,27 +1,29 @@ # Template file for 'gitolite' pkgname=gitolite version=3.6.11 -revision=1 +revision=2 archs=noarch -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" +distfiles="https://github.com/sitaramc/gitolite/archive/v${version}.tar.gz" checksum=2166a61b14de19e605b14f4a13a070fbfd5ecd247b6fd725108f111198a2c121 system_accounts="gitolite" gitolite_homedir="/var/lib/gitolite" gitolite_shell="/bin/sh" -make_dirs="${gitolite_homedir} 0750 ${system_accounts} ${system_accounts}" +make_dirs="/var/lib/gitolite 0750 gitolite gitolite" + +do_check() { + : gitolite test suite delete stuff +} do_install() { - bsdtar -xzvf ${pkgname}-${version}.tar.gz - vmkdir usr/lib/gitolite vmkdir usr/bin - vcopy ${pkgname}-${version}/src/* usr/lib/gitolite + vcopy src/* usr/lib/gitolite + echo "v$version" >"$DESTDIR/usr/lib/gitolite/VERSION" ln -s /usr/lib/gitolite/gitolite ${DESTDIR}/usr/bin/gitolite }