usbutils 017-1
This commit is contained in:
commit
5226aa12ce
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=usbutils
|
||||
pkgver=017
|
||||
pkgrel=1
|
||||
pkgdesc="A collection of USB tools to query connected USB devices"
|
||||
arch=('x86_64')
|
||||
url="https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git"
|
||||
license=('GPL-2.0-only' 'GPL-2.0-or-later' 'GPL-3.0-only')
|
||||
depends=('glibc' 'hwdata' 'libusb' 'systemd')
|
||||
source=(https://kernel.org/pub/linux/utils/usb/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||
sha256sums=(a6a25ffdcf9103e38d7a44732aca17073f4e602b92e4ae55625231a82702e05b)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
${CONFIGURE} --datadir=/usr/share/hwdata
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
Loading…
Reference in New Issue
Block a user