aboutsummaryrefslogtreecommitdiffstats
path: root/main/gitolite/APKBUILD
blob: 6332ddeabce8d2ccaf462a67badd0da801d8900c (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer:  Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>

pkgname=gitolite
pkgver=3.6.2
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
source="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

	./install -to "$pkgdir"/usr/lib/gitolite || return 1
    ln -s /usr/lib/gitolite/gitolite "$pkgdir"/usr/bin/ || return 1
}

md5sums="72b70ed378a775b5cd496ee02b81c467  v3.6.2.tar.gz"
sha256sums="012c372b53d765558131ae0df23a590d41b042c8b88e38e952992caf52fc4fbf  v3.6.2.tar.gz"
sha512sums="f8f041fde1b7c533fcb9cc32beec99dd83bc0a81795115e7205585bbe2f25135e2347df437e123349525a0186fe702f265330b259d336389b437cecf0e894629  v3.6.2.tar.gz"