From c092428b53c1306252b66b51f49482650ec1f38b Mon Sep 17 00:00:00 2001 From: srv Date: Mon, 19 May 2025 12:40:23 +0200 Subject: tlaunch requeriment are compiled, thinkpad touchpad requeriment are compiled, docker requeriment in progress is a long task yet and add validate size --- lshw/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 lshw/PKGBUILD (limited to 'lshw/PKGBUILD') diff --git a/lshw/PKGBUILD b/lshw/PKGBUILD new file mode 100644 index 0000000..fb149ee --- /dev/null +++ b/lshw/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: 31337h4ck3r at gmail dot com +# Contributor: katt +# Contributor: Sergej Pupykin +# Contributor: Stefano Zamprogno +# Contributor: Chuck Yang +pkgname=lshw +pkgver=B.02.20 +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 hwdata) +optdepends=('gtk3: for gtk-lshw') +makedepends=(gtk3 sqlite gettext) # Removed docbook-utils and perl-sgmls +conflicts=("lshw") +provides=("lshw") +source=(https://ezix.org/src/pkg/${pkgname}/archive/${pkgver}.tar.gz) +sha512sums=('af0764aa86e3ab9e79e98fe362e3411c5f59da7e52a3959e090c1da2d3ce7e22ac049081b5e2c87f4dfce45dbc009f3c0f77108d655cfab01626ac5f0ad35cbd') +prepare() { + cd ${pkgname} + 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 ${pkgname} + export VERSION=$pkgver + make SBINDIR=/usr/bin + make SBINDIR=/usr/bin gui +} +package() { + cd ${pkgname} + make DESTDIR="$pkgdir"/ SBINDIR=/usr/bin install + make DESTDIR="$pkgdir"/ SBINDIR=/usr/bin install-gui + install -Dm0644 src/gui/integration/gtk-lshw.desktop -t "$pkgdir"/usr/share/applications + rm -f "$pkgdir"/usr/share/lshw/{pci,usb}.ids +} -- cgit v1.2.3