blob: 118a0db419b6ba5cdd7875b3a6624a96b1cfe10e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Contributor: Boian Bonev <bbonev@ipacct.com>
# Maintainer: Boian Bonev <bbonev@ipacct.com>
pkgname=bpfmon
pkgver=2.53
pkgrel=1
pkgdesc="BPF based visual packet rate monitor"
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'ppc64le')
url="https://github.com/bbonev/bpfmon"
license=('GPL2')
depends=('glibc' 'libpcap' 'libyascreen')
makedepends=('pkgconf')
source=("${url}/releases/download/v${pkgver}/bpfmon-${pkgver}.tar.xz" "${url}/releases/download/v${pkgver}/bpfmon-${pkgver}.tar.xz.asc")
validpgpkeys=('BA60BC20F37E59444D6D25001365720913D2F22D')
md5sums=('SKIP' 'SKIP')
package() {
cd bpfmon-${pkgver}
sed -i 's/sbin/bin/g' Makefile
make PREFIX=/usr INSTALL=install DESTDIR="${pkgdir}" V=1 install
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|