aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hw-probe/APKBUILD
diff options
context:
space:
mode:
authorWinston Weinert <winston@ml1.net>2020-08-05 21:38:42 -0500
committerLeo <thinkabit.ukim@gmail.com>2020-08-06 10:21:08 -0300
commitcc85e9d0df56c2377def1a4122bdb476cc6c202f (patch)
treee2f664aa60a2136622992c150550c3454ce49a20 /testing/hw-probe/APKBUILD
parentc6232183935bb8203cace32f18ed3187aa2b6c28 (diff)
downloadaports-cc85e9d0df56c2377def1a4122bdb476cc6c202f.tar.gz
aports-cc85e9d0df56c2377def1a4122bdb476cc6c202f.tar.bz2
aports-cc85e9d0df56c2377def1a4122bdb476cc6c202f.tar.xz
testing/hw-probe: add missing dependency on xz
When xz is missing the following error occurs: ``` / # hw-probe -probe -upload WARNING: 'edid-decode' package is not installed Probe for hardware ... Ok BusyBox v1.31.1 () multi-call binary. Usage: xz -d [-cfk] [FILE]... Decompress FILE (or stdin) -d Decompress -c Write to stdout -f Force -k Keep input files tar: write error: Broken pipe ERROR: unsupported probe format '/tmp/phpfDOZvo' tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors ERROR: not enough info collected ERROR: failed to upload probe ``` Also fixes the following lint issues: - MC:[AL1]:APKBUILD:16:builddir can be removed as it is the default value - TP:[AL3]:APKBUILD:3:pkgname must not be quoted
Diffstat (limited to 'testing/hw-probe/APKBUILD')
-rw-r--r--testing/hw-probe/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/testing/hw-probe/APKBUILD b/testing/hw-probe/APKBUILD
index 8f18e3dca9..20e1a4c453 100644
--- a/testing/hw-probe/APKBUILD
+++ b/testing/hw-probe/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
-pkgname="hw-probe"
+pkgname=hw-probe
pkgver=1.5
-pkgrel=0
+pkgrel=1
pkgdesc="A tool to probe for hardware and upload result to the Linux Hardware Database"
url="https://github.com/linuxhw/hw-probe"
arch="noarch !mips !mips64" # blocked by acpica
@@ -10,10 +10,9 @@ license="LGPL-2.1"
makedepends="perl-dev"
depends="perl-digest-sha1 perl-data-dumper perl-libwww
hwinfo curl dmidecode smartmontools hwids-pci hwids-usb hwids-net
-memtester hdparm i2c-tools acpica sysstat"
+memtester hdparm i2c-tools acpica sysstat xz"
options="!check" # no test available
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxhw/hw-probe/archive/$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
make PREFIX=/usr