[arch-commits] Commit in lib32-dconf/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Thu Sep 12 19:25:30 UTC 2019


    Date: Thursday, September 12, 2019 @ 19:25:29
  Author: alucryd
Revision: 509785

upgpkg: lib32-dconf 0.34.0-1

Modified:
  lib32-dconf/trunk/PKGBUILD

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++--------------
 1 file changed, 27 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-12 19:24:07 UTC (rev 509784)
+++ PKGBUILD	2019-09-12 19:25:29 UTC (rev 509785)
@@ -3,34 +3,47 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=lib32-dconf
-pkgver=0.32.0
+pkgver=0.34.0
 pkgrel=1
 pkgdesc='A low-level configuration system'
-arch=('x86_64')
-url='https://live.gnome.org/dconf'
-license=('LGPL2.1')
-depends=('dconf' 'lib32-glib2')
+arch=(x86_64)
+url=https://live.gnome.org/dconf
+license=(LGPL2.1)
+depends=(
+  dconf
+  lib32-glib2
+)
 makedepends=(
-  'bash-completion' 'docbook-xsl' 'gcc-multilib' 'git' 'intltool' 'meson'
-  'python' 'vala'
+  bash-completion
+  docbook-xsl
+  git
+  intltool
+  meson
+  python
+  vala
 )
-source=("git+https://gitlab.gnome.org/GNOME/dconf.git#tag=${pkgver}")
-sha256sums=('SKIP')
+source=(git+https://gitlab.gnome.org/GNOME/dconf.git#tag=22d49c42cc71435e1ece14a385286e1d414ff21b)
+sha256sums=(SKIP)
 
+pkgver() {
+  cd dconf
+
+  git describe --tags
+}
+
 build() {
   export CC='gcc -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
 
   arch-meson dconf build \
-    --libdir='/usr/lib32' \
-    --libexecdir='/usr/lib32/dconf' \
-    -Denable-man=false
+    --libdir=/usr/lib32 \
+    -D enable-man=false
   ninja -C build
 }
 
 package() {
   DESTDIR="${pkgdir}" ninja -C build install
-  rm -rf "${pkgdir}"/usr/{bin,include,share}
+  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list