summaryrefslogtreecommitdiff
path: root/community/pluma
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-07 03:52:15 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-07 03:52:15 +0000
commitd44823e5676f0edd0e259c7c33d5640a043748ac (patch)
treea861b18b863dacb947ba2b8e9cbcb47ef80a03ef /community/pluma
parentc183da9d3df5445f5021cd6563012ba2abfc393e (diff)
Fri Mar 7 03:48:12 UTC 2014
Diffstat (limited to 'community/pluma')
-rw-r--r--community/pluma/PKGBUILD44
-rw-r--r--community/pluma/pluma.install12
2 files changed, 56 insertions, 0 deletions
diff --git a/community/pluma/PKGBUILD b/community/pluma/PKGBUILD
new file mode 100644
index 000000000..82e1c9c18
--- /dev/null
+++ b/community/pluma/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 106671 2014-03-06 11:42:20Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+
+pkgname=pluma
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="A powerful text editor for MATE"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('caja' 'desktop-file-utils' 'enchant' 'gtk2' 'gtksourceview2'
+ 'iso-codes' 'libsm' 'mate-desktop' 'python2' 'python2-gobject2'
+ 'pygtksourceview2')
+makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools')
+optdepends=('yelp: for reading MATE help documents')
+replaces=('mate-text-editor')
+provides=('mate-text-editor')
+conflicts=('mate-text-editor')
+options=('!emptydirs')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('858e3edaee698b3f99189d3285061ab56b21828c')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/python/python2/' plugins/externaltools/data/switch-c.tool.in
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${pkgname} \
+ --with-gtk=2.0 \
+ --enable-gtk-doc \
+ --enable-python
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/pluma/pluma.install b/community/pluma/pluma.install
new file mode 100644
index 000000000..ed73415a4
--- /dev/null
+++ b/community/pluma/pluma.install
@@ -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
+}