1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: sh0 <mee@sh0.org>
8 pkgdesc='Console-based network monitoring utility'
9 url='https://github.com/iptraf-ng/iptraf-ng'
14 source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
15 sha512sums=('44d36fc92cdbf379f62cb63638663c3ee610225b9c28d60ee55e62e358f398a6b0db281129327b3472e45fb553ee3dd605af09c129f2233f8839ae3dbd799384')
16 b2sums=('9b8df7fa24711b401464d492993b9c27424ec7ab6230218d1b792a66e5fb60c99b5cdb92ac1b5a6da578c4b10da79333f248f14d10e74057118aadf50263a4ed')
19 cd ${pkgname}-${pkgver}
20 make CFLAGS="${CFLAGS} -std=gnu99 -D_GNU_SOURCE" \
21 LDFLAGS="${LDFLAGS}" \
22 CPPFLAGS="${CPPFLAGS}" \
23 sbindir_relative=bin \
28 cd ${pkgname}-${pkgver}
29 make DESTDIR="${pkgdir}" prefix=/usr sbindir_relative=bin install
30 install -Dm 644 iptraf-ng-logrotate.conf -t "${pkgdir}/etc/logrotate.d"