PKGBUILDs/community/bwm-ng/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
788 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sven Kauber <celeon@gmail.com>
pkgname=bwm-ng
pkgver=0.6
pkgrel=2
pkgdesc="A small and simple console-based live bandwidth monitor"
arch=(i686 x86_64)
url="http://www.gropp.org/"
license=('GPL')
depends=('ncurses')
options=('!emptydirs')
source=(http://www.gropp.org/bwm-ng/$pkgname-$pkgver.tar.gz)
md5sums=('d3a02484fb7946371bfb4e10927cebfb')
build()
{
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg install || return 1
mkdir -p $startdir/pkg/usr && \
mv $startdir/pkg/bin $startdir/pkg/usr/ && \
mv $startdir/pkg/share $startdir/pkg/usr/ && \
find $startdir/pkg -name '*.la' -exec rm {} \;
}