[arch-commits] Commit in (6 files)
Martin Wimpress
flexiondotorg at nymeria.archlinux.org
Thu Jan 16 18:06:52 UTC 2014
Date: Thursday, January 16, 2014 @ 19:06:52
Author: flexiondotorg
Revision: 104249
Added mate-text-editor
Added:
mate-text-editor/
mate-text-editor/repos/
mate-text-editor/trunk/
mate-text-editor/trunk/PKGBUILD
mate-text-editor/trunk/mate-text-editor.install
mate-text-editor/trunk/pluma_gettext_fix.diff
--------------------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
mate-text-editor.install | 12 ++++++++++++
pluma_gettext_fix.diff | 18 ++++++++++++++++++
3 files changed, 65 insertions(+)
Added: mate-text-editor/trunk/PKGBUILD
===================================================================
--- mate-text-editor/trunk/PKGBUILD (rev 0)
+++ mate-text-editor/trunk/PKGBUILD 2014-01-16 18:06:52 UTC (rev 104249)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Giovanni Ricciardi <kar98k.sniper at gmail.com>
+
+pkgname=mate-text-editor
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="A powerful text editor for MATE"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'enchant' 'gtk2' 'gtksourceview2' 'iso-codes'
+ 'libsm' 'mate-desktop' 'mate-file-manager' 'python2' 'python2-gobject2'
+ 'pygtksourceview2')
+makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser')
+options=('!emptydirs')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('64e34ae5724608fcc5adff195515b74e1e3e5bd6')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --enable-python \
+ --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Property changes on: mate-text-editor/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: mate-text-editor/trunk/mate-text-editor.install
===================================================================
--- mate-text-editor/trunk/mate-text-editor.install (rev 0)
+++ mate-text-editor/trunk/mate-text-editor.install 2014-01-16 18:06:52 UTC (rev 104249)
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Added: mate-text-editor/trunk/pluma_gettext_fix.diff
===================================================================
--- mate-text-editor/trunk/pluma_gettext_fix.diff (rev 0)
+++ mate-text-editor/trunk/pluma_gettext_fix.diff 2014-01-16 18:06:52 UTC (rev 104249)
@@ -0,0 +1,18 @@
+diff --git a/configure.ac b/configure.ac
+index be832f7..485c574 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -155,10 +155,11 @@ dnl Gettext stuff.
+ dnl ================================================================
+
+ IT_PROG_INTLTOOL([0.40.0])
+-AC_SUBST([GETTEXT_PACKAGE], [pluma])
++GETTEXT_PACKAGE=pluma
++AC_SUBST([GETTEXT_PACKAGE])
+ AM_GNU_GETTEXT_VERSION([0.17])
+ AM_GLIB_GNU_GETTEXT
+-AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME], [Define to the gettext package name.])
++AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Define to the Gettext package name])
+
+ dnl ================================================================
+ dnl Use gvfs metadata or the old xml file store.
More information about the arch-commits
mailing list