diff options
Diffstat (limited to 'community/libgusb')
-rw-r--r-- | community/libgusb/APKBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/community/libgusb/APKBUILD b/community/libgusb/APKBUILD index 5a9886de45..ea39ff2795 100644 --- a/community/libgusb/APKBUILD +++ b/community/libgusb/APKBUILD @@ -2,38 +2,34 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=libgusb pkgver=0.3.0 -pkgrel=0 +pkgrel=1 pkgdesc="GLib wrapper around libusb" url="https://github.com/hughsie/libgusb" arch="all" -license="LGPL" +license="LGPL-2.1-or-later" # disabled due to: gusb-self-test FAIL options="!check" makedepends="glib-dev libusb-dev gtk-doc vala eudev-dev gobject-introspection-dev meson" checkdepends="python3-dev" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/hughsie/$pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare - cd "$builddir" mkdir -p output } build() { - cd "$builddir" meson . ./output --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var - ninja -C output/ + ninja -C output } package() { - cd "$builddir" - DESTDIR="$pkgdir" ninja -C output/ install + DESTDIR="$pkgdir" ninja -C output install } sha512sums="1e55c1c9234287f9eda9babf194f573487fa6ce2da10e0fd89e1f7c6244f709933c1b980667d7eef38dba3c7f87d3272df71fedc9b6f36753f2b0b513ce995ca libgusb-0.3.0.tar.gz" |