blob: 61bf745eee458ae34550bd31c5fb80d23b4c3919 (
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
|
# Maintainer: Thomas Weißschuh <aur t-8ch de>
pkgname=libusbgx
pkgver=0.3.0
pkgrel=1
pkgdesc='Library encapsulating the kernel USB gadget-configfs userspace API functionality'
arch=('x86_64')
url='https://github.com/linux-usb-gadgets/libusbgx/'
depends=('libconfig')
makedepends=('automake')
license=(GPL-2.0-only LGPL-2.1-only)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linux-usb-gadgets/libusbgx/archive/libusbgx-v${pkgver}.tar.gz")
sha256sums=('23d72c415ffd80d752efccc9bb5a6afdece6a83a31975344ef31a4967d189e3c')
build() {
cd "${srcdir}/libusbgx-libusbgx-v${pkgver}"
autoreconf -i
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/libusbgx-libusbgx-v${pkgver}"
make install DESTDIR="$pkgdir"
}
|