aboutsummaryrefslogtreecommitdiffstats
path: root/testing/knock
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-14 10:13:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-14 10:13:05 +0000
commit7d40d14a615baa5d827a10e9f7f7b589ef1666bc (patch)
treeb305d319c36405a33e4f2bc015cd42e1420e5493 /testing/knock
parenteec9fb558658ce4d651dcc35dc5e8970df2b58a9 (diff)
downloadaports-7d40d14a615baa5d827a10e9f7f7b589ef1666bc.tar.bz2
aports-7d40d14a615baa5d827a10e9f7f7b589ef1666bc.tar.xz
testing/knock: add package() function
Diffstat (limited to 'testing/knock')
-rw-r--r--testing/knock/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/knock/APKBUILD b/testing/knock/APKBUILD
index e07ba64936..ab2cb5e24e 100644
--- a/testing/knock/APKBUILD
+++ b/testing/knock/APKBUILD
@@ -23,6 +23,10 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info
make -j1 || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make -j1 DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/knockd