updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / pmr / PKGBUILD
blob85d8fe7c60d71698801525c5a932cc08dcb931aa
1 #Maintainer: kfgz <kfgz at interia pl>
3 pkgname=pmr
4 pkgver=1.01
5 pkgrel=1
6 pkgdesc="Command line filter that displays the data bandwidth and total number of bytes passing through a pipe"
7 url="http://freshmeat.net/projects/pmr"
8 license=("public domain")
9 arch=(i686 x86_64)
10 source=(${pkgname}-${pkgver}.tar.gz::http://freshmeat.net/urls/37445d537879ac7df392a0001c25b559)
11 md5sums=('af171c12b310d4223ee97886ce9d1b0b')
13 build() {
14   cd ${srcdir}/${pkgname}-${pkgver}
15   ./configure --prefix=/usr
16   make
19 package() {
20   cd ${srcdir}/${pkgname}-${pkgver}
21   install -dm755 ${pkgdir}/usr/{bin,share/man/man1}
22   install -m755 pmr ${pkgdir}/usr/bin
23   install -m644 doc/pmr.1 ${pkgdir}/usr/share/man/man1