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

Felix Yan felixonmars at archlinux.org
Sat May 2 14:04:52 UTC 2020


    Date: Saturday, May 2, 2020 @ 14:04:51
  Author: felixonmars
Revision: 624451

archrelease: copy trunk to community-x86_64

Added:
  lshw/repos/community-x86_64/PKGBUILD
    (from rev 624450, lshw/trunk/PKGBUILD)
Deleted:
  lshw/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   77 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 37 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-02 14:04:36 UTC (rev 624450)
+++ PKGBUILD	2020-05-02 14:04:51 UTC (rev 624451)
@@ -1,40 +0,0 @@
-# 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.18
-pkgrel=3
-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=('x86_64')
-depends=('gcc-libs' 'hwids')
-optdepends=('gtk2')
-makedepends=('gcc' 'gtk2' 'sqlite')
-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
-  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-x86_64/PKGBUILD (from rev 624450, lshw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-02 14:04:51 UTC (rev 624451)
@@ -0,0 +1,37 @@
+# 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.19.2
+pkgrel=1
+pkgdesc="A small tool to provide detailed information on the hardware configuration of the machine."
+url="https://ezix.org/project/wiki/HardwareLiSter"
+license=('GPL')
+arch=('x86_64')
+depends=('gcc-libs' 'hwids')
+optdepends=('gtk2')
+makedepends=('gcc' 'gtk2' 'sqlite')
+source=(https://ezix.org/software/files/lshw-$pkgver.tar.gz)
+sha256sums=('9bb347ac87142339a366a1759ac845e3dbb337ec000aa1b99b50ac6758a80f80')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  sed -i 's|/usr/bin/gtk-lshw|/usr/sbin/gtk-lshw|' src/gui/integration/gtk-lshw.desktop
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  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