blob: fca5ed1612ad26a479800289de0a7e4ff2ace230 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 11336 2010-02-09 22:40:01Z dgriffiths $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sven Kauber <celeon@gmail.com>
pkgname=bwm-ng
pkgver=0.6
pkgrel=3
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 ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=${pkgdir}/usr/share/man
make || return 1
make prefix=${pkgdir} install || return 1
mkdir -p ${pkgdir}/usr && \
mv ${pkgdir}/bin ${pkgdir}/usr/ && \
#mv ${pkgdir}/share ${pkgdir}/usr/ && \
find ${pkgdir} -name '*.la' -exec rm {} \;
}
|