[arch-commits] Commit in iptraf-ng/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Sep 24 22:09:53 UTC 2020
Date: Thursday, September 24, 2020 @ 22:09:53
Author: anthraxx
Revision: 396517
archrelease: copy trunk to extra-x86_64
Added:
iptraf-ng/repos/extra-x86_64/PKGBUILD
(from rev 396516, iptraf-ng/trunk/PKGBUILD)
Deleted:
iptraf-ng/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 33 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-24 22:09:49 UTC (rev 396516)
+++ PKGBUILD 2020-09-24 22:09:53 UTC (rev 396517)
@@ -1,36 +0,0 @@
-# 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:
Copied: iptraf-ng/repos/extra-x86_64/PKGBUILD (from rev 396516, iptraf-ng/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-24 22:09:53 UTC (rev 396517)
@@ -0,0 +1,33 @@
+# 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.2.1
+pkgrel=1
+pkgdesc='Console-based network monitoring utility'
+url='https://github.com/iptraf-ng/iptraf-ng'
+arch=('x86_64')
+depends=('ncurses')
+license=('GPL2')
+replaces=('iptraf')
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('44d36fc92cdbf379f62cb63638663c3ee610225b9c28d60ee55e62e358f398a6b0db281129327b3472e45fb553ee3dd605af09c129f2233f8839ae3dbd799384')
+b2sums=('9b8df7fa24711b401464d492993b9c27424ec7ab6230218d1b792a66e5fb60c99b5cdb92ac1b5a6da578c4b10da79333f248f14d10e74057118aadf50263a4ed')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make CFLAGS="${CFLAGS} -std=gnu99 -D_GNU_SOURCE" \
+ LDFLAGS="${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ sbindir_relative=bin \
+ prefix=/usr
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" prefix=/usr sbindir_relative=bin 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