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

Antonio Rojas arojas at gemini.archlinux.org
Sat Apr 23 08:33:28 UTC 2022


    Date: Saturday, April 23, 2022 @ 08:33:27
  Author: arojas
Revision: 1187510

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 08:33:16 UTC (rev 1187509)
+++ PKGBUILD	2022-04-23 08:33:27 UTC (rev 1187510)
@@ -1,33 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sven Kauber <celeon at gmail.com>
-
-pkgname=bwm-ng
-pkgver=0.6.3
-pkgrel=1
-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=('eb343c2b806c5e9a40611fc39e907a3d')
-
-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/"
-}

Copied: bwm-ng/repos/community-x86_64/PKGBUILD (from rev 1187509, bwm-ng/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-23 08:33:27 UTC (rev 1187510)
@@ -0,0 +1,36 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sven Kauber <celeon at gmail.com>
+
+pkgname=bwm-ng
+pkgver=0.6.3
+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"
+         https://github.com/vgropp/bwm-ng/commit/6a2087db.patch)
+md5sums=('eb343c2b806c5e9a40611fc39e907a3d'
+         '8fcb3755290610c5ba5c31e976d6a212')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 < ../6a2087db.patch # Fix build with -Wformat-security
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./autogen.sh
+  ./configure --prefix=/usr --mandir="$pkgdir/usr/share/man"
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make prefix="$pkgdir" install
+
+  install -d "$pkgdir/usr"
+  mv "$pkgdir/bin" "$pkgdir/usr/"
+}



More information about the arch-commits mailing list