diff options
-rw-r--r-- | testing/vnstat/APKBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/testing/vnstat/APKBUILD b/testing/vnstat/APKBUILD index 0ae9e742c0..1c13ff8102 100644 --- a/testing/vnstat/APKBUILD +++ b/testing/vnstat/APKBUILD @@ -14,16 +14,19 @@ source="http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz build() { cd "$srcdir"/$pkgname-$pkgver - make all || return 1 + make all || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver" + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 - install -D -m0755 "$srcdir"/vnstatd.initd "$pkgdir"/etc/init.d/vnstat || return 1 - install -D -m0644 examples/vnstat.cron "$pkgdir"/usr/share/doc/vnstat/examples/vnstat.cron || return 1 - install -D -m0755 examples/vnstat.cgi "$pkgdir"/usr/share/doc/vnstat/examples/vnstat.cgi || return 1 + install -D -m0755 "$srcdir"/vnstatd.initd "$pkgdir"/etc/init.d/vnstat \ + || return 1 + install -D -m0644 examples/vnstat.cron \ + "$pkgdir"/usr/share/doc/vnstat/examples/vnstat.cron || return 1 + install -D -m0755 examples/vnstat.cgi \ + "$pkgdir"/usr/share/doc/vnstat/examples/vnstat.cgi || return 1 } md5sums="a5a113f9176cd61fb954f2ba297f5fdb vnstat-1.11.tar.gz |