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

Sergej Pupykin spupykin at archlinux.org
Thu Jan 5 14:01:52 UTC 2017


    Date: Thursday, January 5, 2017 @ 14:01:52
  Author: spupykin
Revision: 204901

upgpkg: lshw B.02.18-2

upd

Modified:
  lshw/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-05 14:01:47 UTC (rev 204900)
+++ PKGBUILD	2017-01-05 14:01:52 UTC (rev 204901)
@@ -5,7 +5,7 @@
 
 pkgname=lshw
 pkgver=B.02.18
-pkgrel=1
+pkgrel=2
 pkgdesc="A small tool to provide detailed information on the hardware configuration of the machine."
 url="http://ezix.org/project/wiki/HardwareLiSter"
 license=('GPL')
@@ -13,12 +13,19 @@
 depends=('gcc-libs' 'hwids')
 optdepends=('gtk2')
 makedepends=('gcc' 'gtk2' 'sqlite')
-source=(https://ezix.org/software/files/lshw-$pkgver.tar.gz)
-sha256sums=('ae22ef11c934364be4fd2a0a1a7aadf4495a0251ec6979da280d342a89ca3c2f')
+source=(https://ezix.org/software/files/lshw-$pkgver.tar.gz
+	https://ezix.org/src/pkg/lshw/commit/fbdc6ab15f7eea0ddcd63da355356ef156dd0d96.patch)
+sha256sums=('ae22ef11c934364be4fd2a0a1a7aadf4495a0251ec6979da280d342a89ca3c2f'
+            '8fe3bf1f8afee4538d1ce3e26ceecfe609c78ef08e3682eba83ce29bf53af64c')
 
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  patch -p1 <$srcdir/fbdc6ab15f7eea0ddcd63da355356ef156dd0d96.patch
+  sed -i 's|/usr/bin/gtk-lshw|/usr/sbin/gtk-lshw|' src/gui/integration/gtk-lshw.desktop
+}
+
 build() {
   cd "$srcdir"/$pkgname-$pkgver
-  sed -i 's|/usr/bin/gtk-lshw|/usr/sbin/gtk-lshw|' src/gui/integration/gtk-lshw.desktop
   make SBINDIR=/usr/bin
   make SBINDIR=/usr/bin gui
 }



More information about the arch-commits mailing list