[arch-commits] Commit in bmon/repos (community-x86_64 community-x86_64/PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Tue Nov 11 12:50:14 UTC 2014


    Date: Tuesday, November 11, 2014 @ 13:50:14
  Author: jlichtblau
Revision: 122350

archrelease: copy trunk to community-x86_64

Added:
  bmon/repos/community-x86_64/
  bmon/repos/community-x86_64/PKGBUILD
    (from rev 122349, bmon/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: bmon/repos/community-x86_64/PKGBUILD (from rev 122349, bmon/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-11-11 12:50:14 UTC (rev 122350)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+
+pkgname=bmon
+pkgver=3.5
+pkgrel=1
+pkgdesc="Portable bandwidth monitor and rate estimator"
+arch=('i686' 'x86_64')
+url="http://github.com/tgraf/bmon/"
+license=('MIT' 'BSD')
+depends=('ncurses' 'libnl' 'confuse')
+makedepends=('autoconf')
+source=(http://github.com/tgraf/$pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('d969b4623424f9d7f0589e727691e1c38692507366b5567eed9f6b51322acec9')
+
+build() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  make DESTDIR="${pkgdir}" install
+
+# Licenses
+  install -d "${pkgdir}"/usr/share/licenses/$pkgname
+  cp LICENSE.{BSD,MIT} "${pkgdir}"/usr/share/licenses/$pkgname
+}


More information about the arch-commits mailing list