[arch-commits] Commit in iptraf-ng/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue May 19 08:32:05 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:32:04
Author: foutrelis
Revision: 386356
archrelease: copy trunk to staging-x86_64
Added:
iptraf-ng/repos/staging-x86_64/
iptraf-ng/repos/staging-x86_64/PKGBUILD
(from rev 386355, iptraf-ng/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: iptraf-ng/repos/staging-x86_64/PKGBUILD (from rev 386355, iptraf-ng/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:32:04 UTC (rev 386356)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: sh0 <mee at sh0.org>
+
+pkgname=iptraf-ng
+pkgver=1.1.4
+pkgrel=5
+pkgdesc='Console-based network monitoring utility'
+url='https://sourceforge.net/projects/iptraf-ng/'
+arch=('x86_64')
+depends=('ncurses')
+license=('GPL2')
+replaces=('iptraf')
+source=(https://infrastructure.fedoraproject.org/infra/hosted-content/iptraf-ng/iptraf-ng/iptraf-ng-${pkgver}.tar.gz)
+sha256sums=('79140cf07c0cceb1b5723242847a73aa86f5e4f9dccfe8970fda6801d347eb09')
+sha512sums=('8cafb0000cec75eb4071156a9e9350ffe6de99cb6386e8f50d05337113872ee50082a30009d85faa02d83633a8e727039791332d600654321b95ca6cfc881774')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin
+ # preserve our own flags
+ make CFLAGS="${CFLAGS} -std=gnu99" \
+ LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 iptraf-ng-logrotate.conf -t "${pkgdir}/etc/logrotate.d"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list