# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=bmon pkgver=4.0 pkgrel=2 pkgdesc="bandwidth monitor and rate estimator" url="https://github.com/tgraf/bmon" arch="all" license="BSD MIT" makedepends="$depends_dev libnl3-dev confuse-dev ncurses-dev linux-headers" subpackages="$pkgname-doc" source="https://github.com/tgraf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" prepare() { default_prepare update_config_guess } build() { ./configure --prefix=/usr make } package() { make DESTDIR="$pkgdir" install } sha512sums="5b8cc965b0b05c4bc107d038bba4fcd3317a89bc5e33f77f45a05431c197ad7fa4054d5b0f4ca9b52e8779cb4463d0f429bf22c7a2047abb1ca39174220a46ad bmon-4.0.tar.gz"