summaryrefslogtreecommitdiffstats
path: root/main/gitolite/APKBUILD
blob: 1df5c68ed3efe58956e5c5d37461ee107a93768b (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
# Maintainer:  Bartłomiej Pioteowski <bpiotrowski@alpinelinux.org>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>

pkgname=gitolite
pkgver=3.5.3
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
source="https://github.com/sitaramc/$pkgname/tarball/v${pkgver}/$pkgname-$pkgver.tar.gz"

prepare() {
    cd "$srcdir"/sitaramc-gitolite-*
    echo "v${pkgver}" > VERSION
}

package() {
    cd "$srcdir"/sitaramc-gitolite-*

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

md5sums="5459b5c6ac74a97a18129798dcb851d6  gitolite-3.5.3.tar.gz"
sha256sums="fb754716f27dd2748563252b150018057e5ded50575dea2352779d2b55ef3572  gitolite-3.5.3.tar.gz"
sha512sums="cd54451b809078bc27d4791b5fcbfd685e198ce91bfee96b5176e0016b66c24c8b48b6b777bda0bbef92a261e5c8907139d0705bd68fb8b7eb31b23305e2b951  gitolite-3.5.3.tar.gz"