[arch-commits] Commit in lshw/trunk (PKGBUILD)

Sergej Pupykin spupykin at gemini.archlinux.org
Sat Aug 7 00:08:18 UTC 2021


    Date: Saturday, August 7, 2021 @ 00:08:17
  Author: spupykin
Revision: 994631

upgpkg: lshw B.02.19.2-2
https://bugs.archlinux.org/task/71480

Modified:
  lshw/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-07 00:05:35 UTC (rev 994630)
+++ PKGBUILD	2021-08-07 00:08:17 UTC (rev 994631)
@@ -4,7 +4,7 @@
 
 pkgname=lshw
 pkgver=B.02.19.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A small tool to provide detailed information on the hardware configuration of the machine."
 url="https://ezix.org/project/wiki/HardwareLiSter"
 license=('GPL')
@@ -18,10 +18,12 @@
 prepare() {
   cd "$srcdir"/$pkgname-$pkgver
   sed -i 's|/usr/bin/gtk-lshw|/usr/sbin/gtk-lshw|' src/gui/integration/gtk-lshw.desktop
+  sed -i '/^LDFLAGS=$/d' src/core/Makefile src/gui/Makefile
 }
 
 build() {
   cd "$srcdir"/$pkgname-$pkgver
+  export VERSION=$pkgver
   make SBINDIR=/usr/bin
   make SBINDIR=/usr/bin gui
 }



More information about the arch-commits mailing list