[arch-commits] Commit in mate-desktop/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun Oct 16 21:23:01 UTC 2016


    Date: Sunday, October 16, 2016 @ 21:23:00
  Author: bgyorgy
Revision: 192372

upgpkg: mate-desktop 1.16.0-2

Split out GSettings schemas

Modified:
  mate-desktop/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-16 21:00:44 UTC (rev 192371)
+++ PKGBUILD	2016-10-16 21:23:00 UTC (rev 192372)
@@ -2,13 +2,14 @@
 
 _ver=1.16
 pkgbase=mate-desktop
-pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgname=(${pkgbase} ${pkgbase}-gtk3 ${pkgbase}-schemas)
 pkgver=${_ver}.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Library with common API for various MATE modules"
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL')
+options=('!emptydirs')
 depends=('gtk2' 'gtk3' 'startup-notification')
 makedepends=('gobject-introspection' 'intltool')
 source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
@@ -48,10 +49,11 @@
     pkgdesc+=' (GTK2 version)'
     groups=('mate')
     conflicts=("${pkgbase}-gtk3")
-    depends=('dconf' 'gtk2' 'startup-notification')
+    depends=('dconf' 'gtk2' 'mate-desktop-schemas' 'startup-notification')
 
     cd "${srcdir}/${pkgbase}-gtk2"
     make DESTDIR="${pkgdir}" install
+    make -C schemas DESTDIR="${pkgdir}" uninstall
 }
 
 package_mate-desktop-gtk3() {
@@ -58,8 +60,17 @@
     pkgdesc+=' (GTK3 version)'
     groups=('mate-gtk3')
     conflicts=("${pkgbase}")
-    depends=('gtk3' 'startup-notification')
+    depends=('gtk3' 'mate-desktop-schemas' 'startup-notification')
 
     cd "${srcdir}/${pkgbase}-gtk3"
     make DESTDIR="${pkgdir}" install
+    make -C schemas DESTDIR="${pkgdir}" uninstall
 }
+
+package_mate-desktop-schemas() {
+    pkgdesc='GSettings schemas for MATE Desktop'
+    depends=()
+
+    cd "${srcdir}/${pkgbase}-gtk3"
+    make -C schemas DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list