[arch-commits] Commit in bwbar/repos (4 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Apr 29 13:15:15 UTC 2013


    Date: Monday, April 29, 2013 @ 15:15:15
  Author: spupykin
Revision: 89446

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bwbar/repos/community-staging-i686/
  bwbar/repos/community-staging-i686/PKGBUILD
    (from rev 89445, bwbar/trunk/PKGBUILD)
  bwbar/repos/community-staging-x86_64/
  bwbar/repos/community-staging-x86_64/PKGBUILD
    (from rev 89445, bwbar/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   28 ++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   28 ++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

Copied: bwbar/repos/community-staging-i686/PKGBUILD (from rev 89445, bwbar/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-04-29 13:15:15 UTC (rev 89446)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Mark Rosenstand <mark at borkware.net>
+
+pkgname=bwbar
+pkgver=1.2.3
+pkgrel=4
+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
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  install -D -m755 bwbar $pkgdir/usr/bin/bwbar
+}

Copied: bwbar/repos/community-staging-x86_64/PKGBUILD (from rev 89445, bwbar/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-04-29 13:15:15 UTC (rev 89446)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Mark Rosenstand <mark at borkware.net>
+
+pkgname=bwbar
+pkgver=1.2.3
+pkgrel=4
+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
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  install -D -m755 bwbar $pkgdir/usr/bin/bwbar
+}




More information about the arch-commits mailing list