Skip to content
Snippets Groups Projects
Verified Commit 3be72cf8 authored by David Runge's avatar David Runge :chipmunk:
Browse files

upgpkg: 018-1

Upstream switched to meson (yay)
parent dc5d6d62
No related branches found
Tags 007-1
No related merge requests found
pkgbase = usbutils pkgbase = usbutils
pkgdesc = A collection of USB tools to query connected USB devices pkgdesc = A collection of USB tools to query connected USB devices
pkgver = 017 pkgver = 018
pkgrel = 1 pkgrel = 1
url = https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/ url = https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/
arch = x86_64 arch = x86_64
license = GPL-2.0-only license = GPL-2.0-only
license = GPL-2.0-or-later license = GPL-2.0-or-later
license = GPL-3.0-only license = GPL-3.0-only
license = LGPL-2.1-or-later
license = MIT
makedepends = libusb makedepends = libusb
makedepends = meson
makedepends = systemd makedepends = systemd
depends = glibc depends = glibc
depends = hwdata depends = hwdata
optdepends = coreutils: for lsusb.py usage optdepends = coreutils: for lsusb.py usage
optdepends = python: for lsusb.py usage optdepends = python: for lsusb.py usage
optdepends = sh: for usb-devices optdepends = sh: for usb-devices
source = https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-017.tar.xz source = https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-018.tar.xz
source = https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-017.tar.sign source = https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-018.tar.sign
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha512sums = eaebbc82eee4d940898f7a8de95ca49846c7c964e65c3d866b38735f8f3c8ccfed2b3a536bf2ef39a835a40a34c2273ac4d82b1012d0c693d4863cff14870d95 sha512sums = 4f76c7a328746e17892c31d69cbd9a560c4384877e18d80076cef344a25b71b33387d803c98a9c6867b357a61e1a8a1a630884afe32128c3b6393dc186f216c8
sha512sums = SKIP sha512sums = SKIP
b2sums = 868c646ed6d38a38b9bd3ab85ba3a5e9362a97e476aeed6576c1b175caaf4ee688cb2c33756f02c9bf0aef9e7d58657331fc1c3b3314d86145b3d4f37124537e b2sums = 030f45afd5867ee38c8284a0741d1de63653a98746bfef42281390c5bdefbbb99c318d708e88ea2e28810d519d735da3103fe438befa889fc9b5ae9e21200992
b2sums = SKIP b2sums = SKIP
pkgname = usbutils pkgname = usbutils
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com> # Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
pkgname=usbutils pkgname=usbutils
pkgver=017 pkgver=018
pkgrel=1 pkgrel=1
pkgdesc="A collection of USB tools to query connected USB devices" pkgdesc="A collection of USB tools to query connected USB devices"
arch=(x86_64) arch=(x86_64)
...@@ -14,6 +14,8 @@ license=( ...@@ -14,6 +14,8 @@ license=(
GPL-2.0-only GPL-2.0-only
GPL-2.0-or-later GPL-2.0-or-later
GPL-3.0-only GPL-3.0-only
LGPL-2.1-or-later
MIT
) )
depends=( depends=(
glibc glibc
...@@ -21,6 +23,7 @@ depends=( ...@@ -21,6 +23,7 @@ depends=(
) )
makedepends=( makedepends=(
libusb libusb
meson
systemd systemd
) )
optdepends=( optdepends=(
...@@ -29,23 +32,15 @@ optdepends=( ...@@ -29,23 +32,15 @@ optdepends=(
'sh: for usb-devices' 'sh: for usb-devices'
) )
source=(https://www.kernel.org/pub/linux/utils/usb/usbutils/$pkgname-$pkgver.tar{.xz,.sign}) source=(https://www.kernel.org/pub/linux/utils/usb/usbutils/$pkgname-$pkgver.tar{.xz,.sign})
sha512sums=('eaebbc82eee4d940898f7a8de95ca49846c7c964e65c3d866b38735f8f3c8ccfed2b3a536bf2ef39a835a40a34c2273ac4d82b1012d0c693d4863cff14870d95' sha512sums=('4f76c7a328746e17892c31d69cbd9a560c4384877e18d80076cef344a25b71b33387d803c98a9c6867b357a61e1a8a1a630884afe32128c3b6393dc186f216c8'
'SKIP') 'SKIP')
b2sums=('868c646ed6d38a38b9bd3ab85ba3a5e9362a97e476aeed6576c1b175caaf4ee688cb2c33756f02c9bf0aef9e7d58657331fc1c3b3314d86145b3d4f37124537e' b2sums=('030f45afd5867ee38c8284a0741d1de63653a98746bfef42281390c5bdefbbb99c318d708e88ea2e28810d519d735da3103fe438befa889fc9b5ae9e21200992'
'SKIP') 'SKIP')
validpgpkeys=('647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman <gregkh@linuxfoundation.org> validpgpkeys=('647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman <gregkh@linuxfoundation.org>
prepare() {
cd $pkgname-$pkgver
autoreconf -fiv
}
build() { build() {
cd $pkgname-$pkgver arch-meson $pkgname-$pkgver build
./configure \ meson compile -C build
--prefix=/usr \
--datadir=/usr/share/hwdata
make
} }
package() { package() {
...@@ -54,8 +49,9 @@ package() { ...@@ -54,8 +49,9 @@ package() {
systemd-libs libudev.so systemd-libs libudev.so
) )
cd $pkgname-$pkgver meson install -C build --destdir "$pkgdir"
make DESTDIR="$pkgdir" install
install -vDm 755 usbreset -t "$pkgdir/usr/bin" install -vDm 755 build/usbreset -t "$pkgdir/usr/bin"
install -vDm 644 NEWS -t "$pkgdir/usr/share/doc/$pkgname/" install -vDm 644 $pkgname-$pkgver/{NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
install -vDm 644 $pkgname-$pkgver/LICENSES/*.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment