blob: 60429c0948dd5ed1dbfbe530d67a0f01e5f29f8c (
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
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gitolite
pkgver=3.6.8
pkgrel=0
pkgdesc="Centralized git server, with very fine-grained access control and many powerful features"
url="https://github.com/sitaramc/gitolite"
arch="noarch"
license="GPL-2.0-only"
depends="git perl"
install=$pkgname.pre-install
pkgusers="git"
pkggroups="git"
source="$pkgname-$pkgver.tar.gz::https://github.com/sitaramc/gitolite/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
package() {
install -d "$pkgdir"/usr/bin
install -d "$pkgdir"/usr/lib/gitolite
cd "$builddir"
./install -to "$pkgdir"/usr/lib/gitolite
echo $pkgver > "$pkgdir"/usr/lib/gitolite/VERSION
ln -s /usr/lib/gitolite/gitolite "$pkgdir"/usr/bin/
install -o git -g git -d -m 700 "$pkgdir"/var/lib/git
}
sha512sums="f65d4e4354079f868c9f9a943efb84ad4e29f96c69a3792c13dda383dac0133baa3d93925967c6be71e923b27e0ad91b57b5f1245cf64eeec0f0b719cbda4270 gitolite-3.6.8.tar.gz"
|