aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vnstat
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-06-08 09:45:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-06-08 09:45:47 +0000
commit07ecc7f0220e47ae15fe16c6fe4fe51ddea7e810 (patch)
tree1512c27a64437e54af63d42e7086328a27ba3542 /testing/vnstat
parent624542a224fe696937ec40e41c7771b03b34b20d (diff)
downloadaports-07ecc7f0220e47ae15fe16c6fe4fe51ddea7e810.tar.bz2
aports-07ecc7f0220e47ae15fe16c6fe4fe51ddea7e810.tar.xz
testing/vnstat: build and indent fixes
Diffstat (limited to 'testing/vnstat')
-rw-r--r--testing/vnstat/APKBUILD13
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