[arch-commits] Commit in bwm-ng/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:56:06 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:56:06
  Author: felixonmars
Revision: 658288

archrelease: copy trunk to community-staging-x86_64

Added:
  bwm-ng/repos/community-staging-x86_64/
  bwm-ng/repos/community-staging-x86_64/PKGBUILD
    (from rev 658287, bwm-ng/trunk/PKGBUILD)

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

Copied: bwm-ng/repos/community-staging-x86_64/PKGBUILD (from rev 658287, bwm-ng/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:56:06 UTC (rev 658288)
@@ -0,0 +1,33 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sven Kauber <celeon at gmail.com>
+
+pkgname=bwm-ng
+pkgver=0.6.2
+pkgrel=2
+pkgdesc="A small and simple console-based live bandwidth monitor"
+arch=('x86_64')
+url="https://www.gropp.org/?id=projects&sub=bwm-ng"
+license=('GPL')
+depends=('ncurses')
+#source=("https://www.gropp.org/bwm-ng/${pkgname}-${pkgver}.tar.gz")
+source=("$pkgname-$pkgver.tgz::https://github.com/vgropp/bwm-ng/archive/v${pkgver}.tar.gz")
+md5sums=('1973976d7c8e8eea6f0545576a9159e8')
+
+prepare() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  ./autogen.sh
+  ./configure --prefix=/usr --mandir="$pkgdir/usr/share/man"
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make prefix="$pkgdir" install
+
+  install -d "$pkgdir/usr"
+  mv "$pkgdir/bin" "$pkgdir/usr/"
+}


More information about the arch-commits mailing list