aboutsummaryrefslogtreecommitdiffstats
path: root/main/gitolite
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2015-03-26 10:11:17 +0100
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2015-03-26 10:11:26 +0100
commitfb0812074eed71a60250b5fbd0508fd720cec963 (patch)
tree57b0aae4a64c9d5bfd3aa66ef9e314b89f4bd21f /main/gitolite
parent5216910083c573b0b4825fa725f1eb5ef1a29170 (diff)
downloadaports-fb0812074eed71a60250b5fbd0508fd720cec963.tar.bz2
aports-fb0812074eed71a60250b5fbd0508fd720cec963.tar.xz
main/gitolite: fix build
Diffstat (limited to 'main/gitolite')
-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
}