[arch-commits] Commit in lshw/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 6 20:50:47 UTC 2015


    Date: Sunday, December 6, 2015 @ 21:50:47
  Author: bpiotrowski
Revision: 149205

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  lshw/repos/community-staging-i686/
  lshw/repos/community-staging-i686/PKGBUILD
    (from rev 149204, lshw/trunk/PKGBUILD)
  lshw/repos/community-staging-x86_64/
  lshw/repos/community-staging-x86_64/PKGBUILD
    (from rev 149204, lshw/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: lshw/repos/community-staging-i686/PKGBUILD (from rev 149204, lshw/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-06 20:50:47 UTC (rev 149205)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com>
+# Contributor: Chuck Yang <Chuck.Yang at gmail.com>
+
+pkgname=lshw
+pkgver=B.02.17
+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')
+arch=('i686' 'x86_64')
+depends=('gcc-libs' 'hwids')
+optdepends=('gtk2')
+makedepends=('gcc' 'gtk2' 'sqlite')
+source=(http://ezix.org/software/files/lshw-$pkgver.tar.gz)
+md5sums=('a5feb796cb302850eaf5b4530888e3ed')
+
+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
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  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
+  rm -f $pkgdir/usr/share/lshw/{pci,usb}.ids
+}

Copied: lshw/repos/community-staging-x86_64/PKGBUILD (from rev 149204, lshw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-06 20:50:47 UTC (rev 149205)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com>
+# Contributor: Chuck Yang <Chuck.Yang at gmail.com>
+
+pkgname=lshw
+pkgver=B.02.17
+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')
+arch=('i686' 'x86_64')
+depends=('gcc-libs' 'hwids')
+optdepends=('gtk2')
+makedepends=('gcc' 'gtk2' 'sqlite')
+source=(http://ezix.org/software/files/lshw-$pkgver.tar.gz)
+md5sums=('a5feb796cb302850eaf5b4530888e3ed')
+
+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
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  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
+  rm -f $pkgdir/usr/share/lshw/{pci,usb}.ids
+}



More information about the arch-commits mailing list