[arch-commits] Commit in bmon/repos (community-i686 community-i686/PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Tue Nov 11 12:51:50 UTC 2014
Date: Tuesday, November 11, 2014 @ 13:51:50
Author: jlichtblau
Revision: 122351
archrelease: copy trunk to community-i686
Added:
bmon/repos/community-i686/
bmon/repos/community-i686/PKGBUILD
(from rev 122350, bmon/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: bmon/repos/community-i686/PKGBUILD (from rev 122350, bmon/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-11-11 12:51:50 UTC (rev 122351)
@@ -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