aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nethogs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nethogs/APKBUILD')
-rw-r--r--testing/nethogs/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/testing/nethogs/APKBUILD b/testing/nethogs/APKBUILD
index 13bca14422..6c8a215fc8 100644
--- a/testing/nethogs/APKBUILD
+++ b/testing/nethogs/APKBUILD
@@ -1,25 +1,26 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
-
pkgname=nethogs
pkgver=0.8.1
-pkgrel=0
-pkgdesc='Top-like monitor for network traffic'
-url='https://github.com/raboof/nethogs'
-arch='all'
-license='GPL'
-makedepends='libpcap-dev ncurses-dev linux-headers'
+pkgrel=1
+pkgdesc="Top-like monitor for network traffic"
+url="https://github.com/raboof/nethogs"
+arch="all"
+license="GPL"
+makedepends="libpcap-dev linux-headers ncurses-dev"
+subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/raboof/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$srcdir"/$pkgname-$pkgver
- make
+ cd "$builddir"
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir/usr" install
+ cd "$builddir"
+ make prefix=/usr DESTDIR="$pkgdir" install
}
md5sums="cc0aed87c4cc67fc2ffc5f60aa67bf3d nethogs-0.8.1.tar.gz"