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

Maxime Gauduin alucryd at archlinux.org
Wed Sep 19 11:32:49 UTC 2018


    Date: Wednesday, September 19, 2018 @ 11:32:48
  Author: alucryd
Revision: 383387

upgpkg: lib32-dconf 0.30.0-1

Modified:
  lib32-dconf/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++-------------------
 1 file changed, 10 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-19 11:26:44 UTC (rev 383386)
+++ PKGBUILD	2018-09-19 11:32:48 UTC (rev 383387)
@@ -3,7 +3,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=lib32-dconf
-pkgver=0.28.0
+pkgver=0.30.0
 pkgrel=1
 pkgdesc='A low-level configuration system'
 arch=('x86_64')
@@ -10,35 +10,26 @@
 url='https://live.gnome.org/dconf'
 license=('LGPL2.1')
 depends=('dconf' 'lib32-glib2')
-makedepends=('docbook-xsl' 'gcc-multilib' 'intltool' 'meson' 'python' 'vala')
-source=("https://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-${pkgver}.tar.xz")
-sha256sums=('61d3b3865ef58b729c3b39aa0979f886c014aa8362f93dcfc74bf5648ed9c742')
+makedepends=(
+  'bash-completion' 'docbook-xsl' 'gcc-multilib' 'git' 'intltool' 'meson'
+  'python' 'vala'
+)
+source=("git+https://gitlab.gnome.org/GNOME/dconf.git#tag=${pkgver}")
+sha256sums=('SKIP')
 
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-}
-
 build() {
-  cd build
-
   export CC='gcc -m32'
-  export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
-  arch-meson ../dconf-${pkgver} \
+  arch-meson dconf build \
     --libdir='/usr/lib32' \
     --libexecdir='/usr/lib32/dconf' \
     -Denable-man=false
-  ninja
+  ninja -C build
 }
 
 package() {
-  cd build
-
-  DESTDIR="${pkgdir}" ninja install
+  DESTDIR="${pkgdir}" ninja -C build install
   rm -rf "${pkgdir}"/usr/{bin,include,share}
 }
 



More information about the arch-commits mailing list