aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-14 11:25:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-14 11:25:45 +0000
commit58fa8a3784f7cb60fbb38f40758c309e7a0a0c34 (patch)
treee553d0ca5455345d46ef925184bafbac124570e6
parent472d2fd3ac7743c82571678d8f0067bf8793489a (diff)
downloadaports-58fa8a3784f7cb60fbb38f40758c309e7a0a0c34.tar.bz2
aports-58fa8a3784f7cb60fbb38f40758c309e7a0a0c34.tar.xz
main/backuppc: install to pkgdir in package() phase
-rw-r--r--main/backuppc/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/backuppc/APKBUILD b/main/backuppc/APKBUILD
index 589f5119ce..adbb76afe3 100644
--- a/main/backuppc/APKBUILD
+++ b/main/backuppc/APKBUILD
@@ -27,6 +27,10 @@ prepare () {
}
build() {
+ return 0
+}
+
+package() {
cd "$_builddir"
perl configure.pl \
--batch \
@@ -56,11 +60,8 @@ build() {
--log-dir /var/log/BackupPC \
--uid-ignore \
--no-set-perms || return 1
-}
-package() {
- cd $_builddir
- install -m755 configure.pl $pkgdir/usr/lib/BackupPC/bin/configure.pl
+ install -m755 configure.pl "$pkgdir"/usr/lib/BackupPC/bin/configure.pl
chmod 774 "$pkgdir"/usr/lib/BackupPC/bin/*