aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgusb/APKBUILD
blob: ad355d33ae0ee89a3daca36d3fa8b6d7c13c84a2 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgusb
pkgver=0.3.7
pkgrel=0
pkgdesc="GLib wrapper around libusb"
url="https://github.com/hughsie/libgusb"
arch="all"
license="LGPL-2.1-or-later"
makedepends="glib-dev libusb-dev gtk-doc vala eudev-dev gobject-introspection-dev
	meson py3-setuptools python3-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="libgusb-$pkgver.tar.gz::https://github.com/hughsie/libgusb/archive/$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
01481378b449e5f9ba17e2acbb36828db759f88d0548d3fa1e2069179d62b4db41acd6453328827b3a5d383d1e05625523cfda5d0fb927a3bbeea68457ca1ce9  libgusb-0.3.7.tar.gz
"