summaryrefslogtreecommitdiff
path: root/community/bwbar/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /community/bwbar/PKGBUILD
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'community/bwbar/PKGBUILD')
-rw-r--r--community/bwbar/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/bwbar/PKGBUILD b/community/bwbar/PKGBUILD
index 72b3810c2..8f2620965 100644
--- a/community/bwbar/PKGBUILD
+++ b/community/bwbar/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 59215 2011-11-21 15:20:03Z spupykin $
+# $Id: PKGBUILD 63506 2012-02-05 11:52:02Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Mark Rosenstand <mark@borkware.net>
pkgname=bwbar
pkgver=1.2.3
-pkgrel=2
+pkgrel=3
arch=(i686 x86_64)
pkgdesc="Generates text and graphical readout of the current bandwidth usage."
url="http://www.kernel.org/pub/software/web/bwbar/"
@@ -16,6 +16,8 @@ md5sums=('766265ddf0615b552ff19d12f78be719')
build() {
cd $srcdir/$pkgname-$pkgver
+ sed -i '1,1i#include <zlib.h>' bwbar.c
+ sed -i 's|png_ptr->jmpbuf|png_jmpbuf(png_ptr)|' bwbar.c
./configure
make
install -D -m755 bwbar $pkgdir/usr/bin/bwbar