libgusb: updated meson syntax

This commit is contained in:
Tim Biermann 2020-11-03 19:36:24 +00:00
parent b585980cee
commit f89d280102
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xgk6VTxVw8IlCUX0m8BvTh3y1cSddegxxjCVJAgjXOLfWL0U6LdpFqslMYhS8062dVM5nh/n+aAMNJNzW9qjAo=
SHA256 (Pkgfile) = 027af6a2ffb26b4bb44a87c441eb6d1c7e9dc32bb5e649d5e3064e345e42fc89
RWSagIOpLGJF3x0LL61gZKxjx7fKhpGS5SHZppGQoqKCqkYbQEwKvujBfNl+QBtUqKPJjtZ6U8FSmsNTNP8Cy/qBYqG72aeRyQ0=
SHA256 (Pkgfile) = 4f88036a99ed0d6aff15d91daa4241f4c5ee95d645f436d3315e69a34e225561
SHA256 (.footprint) = f853fd1c3565ab50a6eefaa7d7ad0493e466ef12a3f87900648593dcba38d795
SHA256 (libgusb-0.3.5.tar.gz) = 188c7964422417d39b02a5c645e136b1389c80e38e7abfa911fc196b9c748f45

View File

@ -9,11 +9,13 @@ release=1
source=(https://github.com/hughsie/libgusb/archive/$version/$name-$version.tar.gz)
build() {
meson $name-$version build \
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
-D b_ndebug=true \
-D vapi=false \
-D tests=false \
-D docs=false
ninja -C build
DESTDIR=$PKG ninja -C build install
meson compile -C build
DESTDIR=$PKG meson install -C build
}