summaryrefslogtreecommitdiff
path: root/community/bwm-ng/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/bwm-ng/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/bwm-ng/PKGBUILD')
-rw-r--r--community/bwm-ng/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/bwm-ng/PKGBUILD b/community/bwm-ng/PKGBUILD
new file mode 100644
index 000000000..fca5ed161
--- /dev/null
+++ b/community/bwm-ng/PKGBUILD
@@ -0,0 +1,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 {} \;
+}