[arch-commits] Commit in nethogs/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Wed Jun 7 20:05:34 UTC 2017
Date: Wednesday, June 7, 2017 @ 20:05:33
Author: kkeen
Revision: 235385
upgpkg: nethogs 0.8.5-2 FS#54249
Modified:
nethogs/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-07 19:49:51 UTC (rev 235384)
+++ PKGBUILD 2017-06-07 20:05:33 UTC (rev 235385)
@@ -4,7 +4,7 @@
# Contributor: Daenyth
pkgname=nethogs
pkgver=0.8.5
-pkgrel=1
+pkgrel=2
pkgdesc="A net top tool which displays traffic used per process instead of per IP or interface"
url="https://github.com/raboof/nethogs"
license=('GPL')
@@ -11,7 +11,7 @@
depends=('libpcap' 'ncurses' 'gcc-libs')
arch=('i686' 'x86_64')
#source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
-source=(https://github.com/raboof/nethogs/archive/v$pkgver.tar.gz)
+source=(nethogs-$pkgver.tgz::https://github.com/raboof/nethogs/archive/v$pkgver.tar.gz)
md5sums=('002fd7227d8ed2a8b0fcb0a1b44731bf')
prepare() {
@@ -33,5 +33,8 @@
cd "$srcdir/$pkgname-$pkgver"
make prefix="/usr" DESTDIR="$pkgdir" install
make prefix="/usr" DESTDIR="$pkgdir" install_lib
+ # todo: report these upstream
+ install -Dm755 src/libnethogs.h "$pkgdir/usr/include/libnethogs.h"
+ ln -s "/usr/lib/libnethogs.so.$pkgver" "$pkgdir/usr/lib/libnethogs.so"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list