diff options
author | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
commit | a1922d0ec660fdc1892f2783515f781c090df0a9 (patch) | |
tree | 6d38a09231ff439c051261d41bfa066870e1fccb /community-staging/bwbar | |
parent | eefecc8813e0c062a2058b33209cb30830f824b6 (diff) |
Fri Jan 20 23:14:48 UTC 2012
Diffstat (limited to 'community-staging/bwbar')
-rw-r--r-- | community-staging/bwbar/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community-staging/bwbar/PKGBUILD b/community-staging/bwbar/PKGBUILD new file mode 100644 index 000000000..9d2a2eba3 --- /dev/null +++ b/community-staging/bwbar/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 62406 2012-01-19 19:54:11Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Mark Rosenstand <mark@borkware.net> + +pkgname=bwbar +pkgver=1.2.3 +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/" +license=("GPL") +depends=('libpng') +#source=(http://www.kernel.org/pub/software/web/$pkgname/$pkgname-$pkgver.tar.gz) +source=(http://arch.p5n.pp.ru/~sergej/dl/2011/$pkgname-$pkgver.tar.gz) +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 +} |