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

Antonio Rojas arojas at archlinux.org
Fri Mar 17 20:36:07 UTC 2017


    Date: Friday, March 17, 2017 @ 20:36:06
  Author: arojas
Revision: 216969

Update to 1.18.0

Modified:
  mate-control-center/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-17 20:33:24 UTC (rev 216968)
+++ PKGBUILD	2017-03-17 20:36:06 UTC (rev 216969)
@@ -1,29 +1,27 @@
 # Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.16
-_pkgbase=mate-control-center
-pkgname=${_pkgbase}
-pkgver=${_ver}.1
+pkgname=mate-control-center
+pkgver=1.18.0
 pkgrel=1
 pkgdesc="The Control Center for MATE (GTK2 version)"
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('mate-menus' 'mate-settings-daemon' 'marco' 'libunique' 'libxss')
+depends=('mate-menus' 'mate-settings-daemon' 'marco' 'libxss')
 makedepends=('intltool' 'itstool')
 groups=('mate')
-conflicts=("${_pkgbase}-gtk3")
-source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('49f65c992fdc27e0c5c57cd57e7143813b67d76b')
+conflicts=('mate-control-center-gtk3')
+replaces=('mate-control-center-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('ca318c960ec84835d62c596a035ae5929249ae73')
 
 build() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     ./configure \
         --prefix=/usr \
         --sysconfdir=/etc \
         --sbindir=/usr/bin \
         --localstatedir=/var \
-        --with-gtk=2.0 \
         --disable-update-mimedb
 
     #https://bugzilla.gnome.org/show_bug.cgi?id=656231
@@ -33,7 +31,7 @@
 }
 
 package() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     make DESTDIR="${pkgdir}" install
-    rm -f "${pkgdir}/usr/share/applications/mimeinfo.cache"
+    rm "${pkgdir}/usr/share/applications/mimeinfo.cache"
 }


More information about the arch-commits mailing list