mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 12:26:50 +02:00
30 lines
773 B
Text
30 lines
773 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=usbutils
|
|
pkgver=018
|
|
pkgrel=0
|
|
pkgdesc="USB Device Utilities"
|
|
url="https://linux-usb.sourceforge.net/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
subpackages="$pkgname-doc"
|
|
depends="hwdata-usb"
|
|
makedepends="libusb-dev eudev-dev linux-headers meson"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/gregkh/usbutils/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
fa92aaeca16400b99aacee0df0f5cb68f8ade8331b6f14e896780f7f2eefe20a6ea69e1c51ad87d286c5e28bf0f68e9802e0e2035787c6f43a7fc0523f73f9cf usbutils-018.tar.gz
|
|
"
|