Commit 621c8597 authored by Natanael Copa's avatar Natanael Copa

main/gitolite: create homedir

(cherry picked from commit 51fd93ce)
parent ff5aca65
......@@ -4,13 +4,15 @@
pkgname=gitolite
pkgver=3.6.3
pkgrel=0
pkgrel=1
pkgdesc='Centralized git server, with very fine-grained access control and many powerful features'
url='http://github.com/sitaramc/gitolite'
arch='noarch'
license='GPL2'
depends='git perl'
install=$pkgname.pre-install
pkgusers="git"
pkggroups="git"
source="gitolite-$pkgver.tar.gz::https://github.com/sitaramc/$pkgname/archive/v${pkgver}.tar.gz"
prepare() {
......@@ -24,7 +26,8 @@ package() {
cd "$srcdir"/$pkgname-$pkgver
./install -to "$pkgdir"/usr/lib/gitolite || return 1
ln -s /usr/lib/gitolite/gitolite "$pkgdir"/usr/bin/ || return 1
ln -s /usr/lib/gitolite/gitolite "$pkgdir"/usr/bin/ || return 1
install -o git -g git -d -m 700 "$pkgdir"/var/lib/git || return 1
}
md5sums="4c6277cdae3dfd3eab2c37a0a90c97f1 gitolite-3.6.3.tar.gz"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment