[arch-commits] Commit in nethogs/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Thu Apr 16 16:33:53 UTC 2020
Date: Thursday, April 16, 2020 @ 16:33:52
Author: kkeen
Revision: 615350
archrelease: copy trunk to community-x86_64
Added:
nethogs/repos/community-x86_64/PKGBUILD
(from rev 615349, nethogs/trunk/PKGBUILD)
Deleted:
nethogs/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-16 16:16:30 UTC (rev 615349)
+++ PKGBUILD 2020-04-16 16:33:52 UTC (rev 615350)
@@ -1,39 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: ViNS <gladiator at fastwebnet.it>
-# Contributor: Daenyth
-pkgname=nethogs
-pkgver=0.8.5
-pkgrel=3
-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')
-depends=('libpcap' 'ncurses' 'gcc-libs')
-arch=('x86_64')
-#source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
-source=(nethogs-$pkgver.tgz::https://github.com/raboof/nethogs/archive/v$pkgver.tar.gz)
-md5sums=('002fd7227d8ed2a8b0fcb0a1b44731bf')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- sed -i 's|/sbin|/bin|' src/MakeApp.mk
- sed -i 's|/local||' Makefile
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- 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
- # 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:
Copied: nethogs/repos/community-x86_64/PKGBUILD (from rev 615349, nethogs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-16 16:33:52 UTC (rev 615350)
@@ -0,0 +1,39 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: ViNS <gladiator at fastwebnet.it>
+# Contributor: Daenyth
+pkgname=nethogs
+pkgver=0.8.6
+pkgrel=1
+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')
+depends=('libpcap' 'ncurses' 'gcc-libs')
+arch=('x86_64')
+#source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+source=(nethogs-$pkgver.tgz::https://github.com/raboof/nethogs/archive/v$pkgver.tar.gz)
+md5sums=('e7acdcf0fd73975eb8bdf3704c952b2a')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's|/sbin|/bin|' src/MakeApp.mk
+ sed -i 's|/local||' Makefile
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ 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
+ # 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