[arch-commits] Commit in iftop/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 21:24:42 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:24:41
  Author: felixonmars
Revision: 660401

archrelease: copy trunk to community-staging-x86_64

Added:
  iftop/repos/community-staging-x86_64/
  iftop/repos/community-staging-x86_64/PKGBUILD
    (from rev 660399, iftop/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: iftop/repos/community-staging-x86_64/PKGBUILD (from rev 660399, iftop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:24:41 UTC (rev 660401)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daenyth <Daenyth+Arch at gmail dot com>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Alexander Mieland (dma147) <dma147 at linux-stats.org>
+# Contributor: slubman <slubman at slubman.net>
+
+pkgname=iftop
+pkgver=1.0pre4
+pkgrel=4
+pkgdesc="Display bandwidth usage on an interface"
+arch=('x86_64')
+url="http://www.ex-parrot.com/~pdw/iftop/"
+license=('GPL')
+depends=('libpcap' 'ncurses')
+source=("http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz")
+
+build() {
+  cd $pkgname-$pkgver
+
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+  ./configure --prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+}
+
+sha512sums=('abd74e8025bb82fef9ebab4997b1d018201a523d47c0128128ca37797490046538d74758dc4471735c22b890e5bd238ad6b2a30776d465138ede367cdd263d22')



More information about the arch-commits mailing list