aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/gitolite/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/gitolite/APKBUILD b/main/gitolite/APKBUILD
index 6a95062954..6332ddeabc 100644
--- a/main/gitolite/APKBUILD
+++ b/main/gitolite/APKBUILD
@@ -19,8 +19,10 @@ prepare() {
}
package() {
- install -d "$pkgdir"/usr/{bin,lib/gitolite} || return 1
- cp -a "$srcdir"/$pkgname-$pkgver/src/* "$pkgdir"/usr/lib/gitolite || return 1
+ 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
}