Date: Thursday, November 17, 2022 @ 17:45:58
  Author: heftig
Revision: 1349383

0.40.0-3: enable debug, reduce makedeps

Modified:
  lib32-dconf/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-17 17:43:24 UTC (rev 1349382)
+++ PKGBUILD    2022-11-17 17:45:58 UTC (rev 1349383)
@@ -4,8 +4,8 @@
 
 pkgname=lib32-dconf
 pkgver=0.40.0
-pkgrel=2
-pkgdesc='A low-level configuration system'
+pkgrel=3
+pkgdesc='A low-level configuration system (32-bit)'
 arch=(x86_64)
 url=https://live.gnome.org/dconf
 license=(LGPL2.1)
@@ -14,17 +14,14 @@
   lib32-glib2
 )
 makedepends=(
-  bash-completion
-  docbook-xsl
   git
-  intltool
+  lib32-dbus
   meson
-  python
-  vala
 )
+options=(debug)
 _tag=4c0a26052efafae923eba42d14c5cb88da745de2
 source=(git+https://gitlab.gnome.org/GNOME/dconf.git#tag=${_tag})
-sha256sums=(SKIP)
+sha256sums=('SKIP')
 
 pkgver() {
   cd dconf
@@ -33,17 +30,23 @@
 }
 
 build() {
+  local meson_options=(
+    --libdir=/usr/lib32
+    -D bash_completion=false
+    -D man=false
+    -D vapi=false
+  )
+
   export CC='gcc -m32'
-  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
 
-  arch-meson dconf build \
-    --libdir=/usr/lib32
-  ninja -C build
+  arch-meson dconf build "${meson_options[@]}"
+  meson compile -C build
 }
 
 package() {
-  DESTDIR="${pkgdir}" ninja -C build install
+  meson install -C build --destdir "${pkgdir}"
   rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
 }
 
-# vim: ts=2 sw=2 et:
+# vim:set sw=2 sts=-1 et:

Reply via email to