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

Antonio Rojas arojas at archlinux.org
Fri Mar 17 22:41:46 UTC 2017


    Date: Friday, March 17, 2017 @ 22:41:45
  Author: arojas
Revision: 217008

Update to 1.18.0

Modified:
  pluma/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-17 22:36:06 UTC (rev 217007)
+++ PKGBUILD	2017-03-17 22:41:45 UTC (rev 217008)
@@ -1,32 +1,30 @@
 # Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.16
-_pkgbase=pluma
-pkgname=${_pkgbase}
-pkgver=${_ver}.0
-pkgrel=3
-pkgdesc="A powerful text editor for MATE (GTK2 version)"
+pkgname=pluma
+pkgver=1.18.0
+pkgrel=1
+pkgdesc="A powerful text editor for MATE"
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('iso-codes' 'mate-desktop-schemas' 'pygtksourceview2' 'zenity')
-makedepends=('intltool' 'itstool')
+depends=('iso-codes' 'mate-desktop' 'zenity' 'gtksourceview3' 'libpeas')
+makedepends=('intltool' 'itstool' 'gobject-introspection')
 groups=('mate-extra')
-conflicts=("${_pkgbase}-gtk3")
-source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('14a0497fade1e3fd40a39eafb28390975abd12a6')
+conflicts=('pluma-gtk3')
+replaces=('pluma-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('8a6e5c6f445d23e7dd2f0a2e8de39f648f0d8dfd')
 
 prepare() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     sed -i 's/python/python2/' plugins/externaltools/data/switch-c.tool.in
 }
 
 build() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     PYTHON=/usr/bin/python2 ./configure \
         --prefix=/usr \
-        --libexecdir=/usr/lib/${_pkgbase} \
-        --with-gtk=2.0 \
+        --libexecdir=/usr/lib/${pkgname} \
         --enable-gtk-doc=no \
         --enable-python
 
@@ -37,6 +35,6 @@
 }
 
 package() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     make DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list