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

Antonio Rojas arojas at archlinux.org
Fri Mar 17 22:32:42 UTC 2017


    Date: Friday, March 17, 2017 @ 22:32:41
  Author: arojas
Revision: 217005

Update to 1.18.0

Modified:
  mozo/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-17 22:29:29 UTC (rev 217004)
+++ PKGBUILD	2017-03-17 22:32:41 UTC (rev 217005)
@@ -1,10 +1,8 @@
 # Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.16
-_pkgbase=mozo
-pkgname=${_pkgbase}
-pkgver=${_ver}.0
-pkgrel=2
+pkgname=mozo
+pkgver=1.18.0
+pkgrel=1
 pkgdesc="MATE menu editing tool"
 url="http://mate-desktop.org"
 arch=('any')
@@ -12,13 +10,13 @@
 depends=('gtk3' 'mate-menus' 'python2-gobject')
 makedepends=('intltool')
 groups=('mate-extra' 'mate-extra-gtk3')
-conflicts=("${_pkgbase}-gtk3")
-replaces=("${_pkgbase}-gtk3")
-source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('bd9b1e70a6976940d40ef78f58c11a96ffa41a26')
+conflicts=('mozo-gtk3')
+replaces=('mozo-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('b490e8be26e0ec49ff4f89aa0113c8a80c80c080')
 
 build() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     PYTHON=/usr/bin/python2 ./configure \
         --prefix=/usr
     make
@@ -25,6 +23,6 @@
 }
 
 package() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     make DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list