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

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 23 07:14:15 EDT 2013


    Date: Thursday, May 23, 2013 @ 13:14:15
  Author: spupykin
Revision: 91515

upgpkg: lshw B.02.16-5

upd

Modified:
  lshw/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-23 11:14:10 UTC (rev 91514)
+++ PKGBUILD	2013-05-23 11:14:15 UTC (rev 91515)
@@ -5,7 +5,7 @@
 
 pkgname=lshw
 pkgver=B.02.16
-pkgrel=4
+pkgrel=5
 pkgdesc="A small tool to provide detailed information on the hardware configuration of the machine."
 url="http://ezix.org/project/wiki/HardwareLiSter"
 license=('GPL')
@@ -19,14 +19,14 @@
 build() {
   cd $srcdir/$pkgname-$pkgver
   sed -i 's|/usr/bin/gtk-lshw|/usr/sbin/gtk-lshw|' src/gui/integration/gtk-lshw.desktop
-  make
-  make gui
+  make SBINDIR=/usr/bin
+  make SBINDIR=/usr/bin gui
 }
 
 package() {
   cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir/ install
-  make DESTDIR=$pkgdir/ install-gui
+  make DESTDIR=$pkgdir/ SBINDIR=/usr/bin install
+  make DESTDIR=$pkgdir/ SBINDIR=/usr/bin install-gui
   install -Dm0644 src/gui/integration/gtk-lshw.desktop $pkgdir/usr/share/applications/gtk-lshw.desktop
   install -Dm0644 src/gui/integration/gtk-lshw.pam $pkgdir/usr/share/doc/$pkgname/gtk-lshw.pam
   install -Dm0644 src/gui/integration/console.apps $pkgdir/usr/share/doc/$pkgname/console.apps



More information about the arch-commits mailing list