# Contributor: Łukasz Jendrysik # Maintainer: Bartłomiej Piotrowski # Contributor: Carlo Landmeter 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,lib/gitolite} || return 1 cp -a "$srcdir"/$pkgname-$pkgver/src/* "$pkgdir"/usr/lib/gitolite || return 1 ln -s /usr/lib/gitolite/gitolite "$pkgdir"/usr/bin/ || return 1 } md5sums="48ad0cf87094f38c6b59e054951c63e6 gitolite-3.6.2.tar.gz" sha256sums="9354e52568456829ce509b33c72b73f21f9fc8b43d6d08ffee3dc240e949584b gitolite-3.6.2.tar.gz" sha512sums="9b8c406723caab3c70b5d0fdc3b28f69489f21c595d6bc5448e45b94067dac949ee3a5ab83c3725d433bb523ed132ab2ab73c1b5ecbfd81eedf7b03bd5562357 gitolite-3.6.2.tar.gz"