diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-16 12:04:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-16 12:04:31 +0000 |
commit | 51fd93cebc486ff2c49a2b4df241b6edf3bd7ef1 (patch) | |
tree | e11a7d4ed25ab8a1ec3355010a244e40f30f2ac5 /main/gitolite | |
parent | f3a5e0c8837cdbde465dc0ad62956f1e8d240ad9 (diff) | |
download | aports-51fd93cebc486ff2c49a2b4df241b6edf3bd7ef1.tar.bz2 aports-51fd93cebc486ff2c49a2b4df241b6edf3bd7ef1.tar.xz |
main/gitolite: create homedir
Diffstat (limited to 'main/gitolite')
-rw-r--r-- | main/gitolite/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
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" |