Commit de7b0b39 authored by Natanael Copa's avatar Natanael Copa

main/gitolite: fix version reported

fixes #9029
parent 4eb7dbec
......@@ -3,7 +3,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gitolite
pkgver=3.6.7
pkgrel=0
pkgrel=1
pkgdesc="Centralized git server, with very fine-grained access control and many powerful features"
url="https://github.com/sitaramc/gitolite"
arch="noarch"
......@@ -16,7 +16,6 @@ source="gitolite-$pkgver.tar.gz::https://github.com/sitaramc/$pkgname/archive/v$
prepare() {
cd "$srcdir"/$pkgname-$pkgver
echo $pkgver > VERSION
}
package() {
......@@ -25,6 +24,7 @@ package() {
cd "$srcdir"/$pkgname-$pkgver
./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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment