blob: bef23d5f4075af8cf3e20eddb4e74cd0c2850259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gitolite
pkgver=3.6.5
pkgrel=0
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() {
cd "$srcdir"/$pkgname-$pkgver
echo $pkgver > VERSION
}
package() {
install -d "$pkgdir"/usr/bin || return 1
install -d "$pkgdir"/usr/lib/gitolite || return 1
cd "$srcdir"/$pkgname-$pkgver
./install -to "$pkgdir"/usr/lib/gitolite || 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="bad15674f54987e75742e2a131b7a59d gitolite-3.6.5.tar.gz"
sha256sums="15f367591cc6782cde8b0b8c2206ada5714e83998b96de61838d64ff0878f876 gitolite-3.6.5.tar.gz"
sha512sums="60796663a87c2b169c08e4e26edfb76408428887d3e932677f4ca95a8c7f82e9e300a7400d3d900c371628b23972be063444b7c036218f6ff0ab13626a886f90 gitolite-3.6.5.tar.gz"
|