[arch-commits] Commit in nethogs/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Fri Jul 15 17:54:07 UTC 2016
Date: Friday, July 15, 2016 @ 17:54:07
Author: kkeen
Revision: 182944
upgpkg: nethogs 0.8.5-1 and FS#49883
Modified:
nethogs/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-15 17:01:47 UTC (rev 182943)
+++ PKGBUILD 2016-07-15 17:54:07 UTC (rev 182944)
@@ -3,16 +3,16 @@
# Contributor: ViNS <gladiator at fastwebnet.it>
# Contributor: Daenyth
pkgname=nethogs
-pkgver=0.8.2
+pkgver=0.8.5
pkgrel=1
pkgdesc="A net top tool which displays traffic used per process instead of per IP or interface"
-url="http://nethogs.sourceforge.net"
+url="https://github.com/raboof/nethogs"
license=('GPL')
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)
-md5sums=('f38db5f08c2dd2b030727ba4ecf58e06')
+md5sums=('002fd7227d8ed2a8b0fcb0a1b44731bf')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
@@ -19,10 +19,6 @@
sed -i 's|/sbin|/bin|' src/MakeApp.mk
sed -i 's|/local||' Makefile
-
- # bug in 0.8.2?
- # .so file is unversioned
- sed -i 's/$(LIB[^)]*ION)/0/g' src/MakeLib.mk
}
build() {
@@ -30,10 +26,12 @@
unset CFLAGS
unset CXXFLAGS
make prefix="/usr"
+ make prefix="/usr" libnethogs
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make prefix="/usr" DESTDIR="$pkgdir" install
+ make prefix="/usr" DESTDIR="$pkgdir" install_lib
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list