aboutsummaryrefslogtreecommitdiffstats
path: root/community/lshw/APKBUILD
blob: cbe2150a705fc32db6554aac88fa3d6175b05d2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Paul Kilar <pkilar@gmail.com>
# Maintainer: Paul Kilar <pkilar@gmail.com>
pkgname=lshw
pkgver='02.18'
pkgrel=0
pkgdesc="Hardware Lister"
url="https://ezix.org/project/wiki/HardwareLiSter"
arch="all"
license="GPL-3.0-or-later"
makedepends="sqlite-dev linux-headers"
subpackages="$pkgname-doc $pkgname-lang"
source="https://ezix.org/software/files/lshw-B.$pkgver.tar.gz
	wrapper-for-basename.patch
	"

builddir="$srcdir"/$pkgname-B.$pkgver

build() {
	cd "$builddir"
	make RPM_OPT_FLAGS=-DNONLS
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="4385db86101178b8bd33a80e991718e14f83277c66b3d63ae97cb4339196873b6e9b31a174024bf43d16fe66e1d7f8cf5cea56076697878087880c8821b11e47  lshw-B.02.18.tar.gz
bad7910af7ac3d8bc59e1f8e178a9d29851cfe4048473e5036a661b4650c5144693e6bf83f4c03304a7afb5c3003e2e732518a57d304bcc084bd78f109722da0  wrapper-for-basename.patch"