summaryrefslogtreecommitdiff
path: root/nethogs/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'nethogs/Pkgfile')
-rw-r--r--nethogs/Pkgfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/nethogs/Pkgfile b/nethogs/Pkgfile
index fc74fa9e9..a5b83d0c3 100644
--- a/nethogs/Pkgfile
+++ b/nethogs/Pkgfile
@@ -1,16 +1,15 @@
# Description: net top tool showing network usage by PID
-# URL: http://nethogs.sf.net
+# URL: https://github.com/raboof/nethog
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: libpcap
name=nethogs
-version=0.8.0
+version=0.8.5
release=1
-source=(http://downloads.sourceforge.net/project/nethogs/nethogs/0.8/nethogs-0.8.0.tar.gz)
+source=(https://github.com/raboof/nethogs/archive/v${version}.tar.gz)
build() {
- cd $name
- sed -i -e 's|share/man|/usr/man|' Makefile
+ cd $name-$version
make
- make DESTDIR=$PKG install
+ make PREFIX=/usr DESTDIR=$PKG install
}

Generated by cgit