Date: Tuesday, October 25, 2022 @ 23:01:36
  Author: heftig
Revision: 1334917

debug on

Modified:
  libosinfo/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-25 22:46:04 UTC (rev 1334916)
+++ PKGBUILD    2022-10-25 23:01:36 UTC (rev 1334917)
@@ -10,6 +10,7 @@
 license=('GPL' 'LGPL')
 depends=('glib2' 'hwdata' 'libsoup' 'libxslt' 'osinfo-db')
 makedepends=('check' 'gobject-introspection' 'gtk-doc' 'meson' 'vala')
+options=('debug')
 source=("https://releases.pagure.org/libosinfo/$pkgname-$pkgver.tar.xz"{,.asc})
 validpgpkeys=('DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF'  # Daniel P. Berrange
               '09B9C8FF223EF113AFA06A39EE926C2BDACC177B'  # Fabiano FidĂȘncio
@@ -18,9 +19,12 @@
             'SKIP')
 
 build() {
-  arch-meson $pkgname-$pkgver build \
-    -D with-usb-ids-path=/usr/share/hwdata/usb.ids \
+  local meson_options=(
+    -D with-usb-ids-path=/usr/share/hwdata/usb.ids
     -D with-pci-ids-path=/usr/share/hwdata/pci.ids
+  )
+
+  arch-meson $pkgname-$pkgver build "${meson_options[@]}"
   meson compile -C build
 }
 
@@ -29,6 +33,7 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
 }
 
+# vim:set sw=2 sts=-1 et:

Reply via email to