From 51fd93cebc486ff2c49a2b4df241b6edf3bd7ef1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 16 Jun 2015 12:04:10 +0000 Subject: main/gitolite: create homedir --- main/gitolite/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main') diff --git a/main/gitolite/APKBUILD b/main/gitolite/APKBUILD index e8d608dbca..0ab0bab0b7 100644 --- a/main/gitolite/APKBUILD +++ b/main/gitolite/APKBUILD @@ -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" -- cgit v1.2.3