[arch-commits] Commit in bmon/repos (2 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Tue Oct 25 16:54:12 UTC 2016
Date: Tuesday, October 25, 2016 @ 16:54:12
Author: jlichtblau
Revision: 193355
archrelease: copy trunk to community-staging-x86_64
Added:
bmon/repos/community-staging-x86_64/
bmon/repos/community-staging-x86_64/PKGBUILD
(from rev 193354, bmon/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: bmon/repos/community-staging-x86_64/PKGBUILD (from rev 193354, bmon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-10-25 16:54:12 UTC (rev 193355)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgname=bmon
+pkgver=3.9
+pkgrel=2
+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=($pkgname-$pkgver.tar.gz::http://github.com/tgraf/$pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('02120aafb1959285562074490c0a9f7f8648161f9db534cf5792fc16d6e0326c')
+
+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