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

Antonio Rojas arojas at archlinux.org
Fri Mar 17 22:47:43 UTC 2017


    Date: Friday, March 17, 2017 @ 22:47:43
  Author: arojas
Revision: 217010

Update to 1.18.0

Modified:
  python2-caja/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-17 22:42:12 UTC (rev 217009)
+++ PKGBUILD	2017-03-17 22:47:43 UTC (rev 217010)
@@ -1,11 +1,9 @@
 # Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.16
-_pkgbase=python-caja
 pkgname=python2-caja
-pkgver=${_ver}.0
+pkgver=1.18.0
 pkgrel=1
-pkgdesc="Python binding for Caja, to allow Caja property page and menu item extensions to be written in Python (GTK2 version)"
+pkgdesc="Python binding for Caja, to allow Caja property page and menu item extensions to be written in Python"
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -12,16 +10,17 @@
 depends=('caja' 'python2-gobject')
 makedepends=('intltool')
 conflicts=('python2-caja-gtk3')
-source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('9c4125cbe8485174c59e85cb77290826de6e3435')
+replaces=('python2-caja-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz")
+sha1sums=('fb4e8b53694651bb606e5f9d361b9997d927875a')
 
 prepare() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd python-caja-${pkgver}
     sed -i 's/python-config/python2-config/' configure
 }
 
 build() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd python-caja-${pkgver}
     PYTHON=/usr/bin/python2 ./configure \
         --prefix=/usr
 
@@ -32,6 +31,6 @@
 }
 
 package() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd python-caja-${pkgver}
     make DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list