summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..550776d6141
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: Boian Bonev <bbonev@ipacct.com>
+# Maintainer: Boian Bonev <bbonev@ipacct.com>
+
+pkgname=bpfmon
+pkgver=2.49
+pkgrel=1
+pkgdesc="BPF based visual packet rate monitor"
+arch=('any')
+url="https://github.com/bbonev/bpfmon"
+license=('GPL2')
+depends=('glibc' 'libyascreen')
+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}"
+}