28 lines
807 B
Bash
28 lines
807 B
Bash
# Template file for 'gitolite'
|
|
pkgname=gitolite
|
|
version=3.6.12
|
|
revision=2
|
|
depends="git perl"
|
|
short_desc="Access control layer on top of git"
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://gitolite.com/gitolite"
|
|
distfiles="https://github.com/sitaramc/gitolite/archive/v${version}.tar.gz"
|
|
checksum=8c55976ed561b8eabf39097b7fcb9c6e8741c2ceea85ef4529a06b1adff850b6
|
|
|
|
system_accounts="gitolite"
|
|
gitolite_homedir="/var/lib/gitolite"
|
|
gitolite_shell="/bin/sh"
|
|
make_dirs="/var/lib/gitolite 0750 gitolite gitolite"
|
|
|
|
do_check() {
|
|
: gitolite test suite delete stuff
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/lib/gitolite
|
|
vmkdir usr/bin
|
|
vcopy src/* usr/lib/gitolite
|
|
echo "v$version" >"$DESTDIR/usr/lib/gitolite/VERSION"
|
|
ln -s /usr/lib/gitolite/gitolite ${DESTDIR}/usr/bin/gitolite
|
|
}
|