[arch-commits] Commit in pluma/repos (6 files)

Martin Wimpress flexiondotorg at archlinux.org
Sun May 10 19:15:42 UTC 2015


    Date: Sunday, May 10, 2015 @ 21:15:41
  Author: flexiondotorg
Revision: 133204

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  pluma/repos/community-staging-i686/
  pluma/repos/community-staging-i686/PKGBUILD
    (from rev 133203, pluma/trunk/PKGBUILD)
  pluma/repos/community-staging-i686/pluma.install
    (from rev 133203, pluma/trunk/pluma.install)
  pluma/repos/community-staging-x86_64/
  pluma/repos/community-staging-x86_64/PKGBUILD
    (from rev 133203, pluma/trunk/PKGBUILD)
  pluma/repos/community-staging-x86_64/pluma.install
    (from rev 133203, pluma/trunk/pluma.install)

----------------------------------------+
 community-staging-i686/PKGBUILD        |   41 +++++++++++++++++++++++++++++++
 community-staging-i686/pluma.install   |   12 +++++++++
 community-staging-x86_64/PKGBUILD      |   41 +++++++++++++++++++++++++++++++
 community-staging-x86_64/pluma.install |   12 +++++++++
 4 files changed, 106 insertions(+)

Copied: pluma/repos/community-staging-i686/PKGBUILD (from rev 133203, pluma/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-05-10 19:15:41 UTC (rev 133204)
@@ -0,0 +1,41 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+_pkgbase=pluma
+pkgname=${_pkgbase}
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="A powerful text editor for MATE (GTK2 version)"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'enchant' 'gtk2' 'gtksourceview2' 'iso-codes'
+         'libsm' 'mate-desktop>=1.10' 'pygtksourceview2' 'python2-gobject' 'zenity')
+makedepends=('mate-common' 'yelp-tools')
+optdepends=('yelp: for reading MATE help documents')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('ed62ff4ced843d09040720865bad9f15ce4c831d')
+install=${_pkgbase}.install
+
+prepare() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    sed -i 's/python/python2/' plugins/externaltools/data/switch-c.tool.in
+}
+
+build() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    PYTHON=/usr/bin/python2 ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=2.0 \
+        --enable-gtk-doc=no \
+        --enable-python
+    make
+}
+
+package() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: pluma/repos/community-staging-i686/pluma.install (from rev 133203, pluma/trunk/pluma.install)
===================================================================
--- community-staging-i686/pluma.install	                        (rev 0)
+++ community-staging-i686/pluma.install	2015-05-10 19:15:41 UTC (rev 133204)
@@ -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
+}

Copied: pluma/repos/community-staging-x86_64/PKGBUILD (from rev 133203, pluma/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-05-10 19:15:41 UTC (rev 133204)
@@ -0,0 +1,41 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+_pkgbase=pluma
+pkgname=${_pkgbase}
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="A powerful text editor for MATE (GTK2 version)"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'enchant' 'gtk2' 'gtksourceview2' 'iso-codes'
+         'libsm' 'mate-desktop>=1.10' 'pygtksourceview2' 'python2-gobject' 'zenity')
+makedepends=('mate-common' 'yelp-tools')
+optdepends=('yelp: for reading MATE help documents')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('ed62ff4ced843d09040720865bad9f15ce4c831d')
+install=${_pkgbase}.install
+
+prepare() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    sed -i 's/python/python2/' plugins/externaltools/data/switch-c.tool.in
+}
+
+build() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    PYTHON=/usr/bin/python2 ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=2.0 \
+        --enable-gtk-doc=no \
+        --enable-python
+    make
+}
+
+package() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: pluma/repos/community-staging-x86_64/pluma.install (from rev 133203, pluma/trunk/pluma.install)
===================================================================
--- community-staging-x86_64/pluma.install	                        (rev 0)
+++ community-staging-x86_64/pluma.install	2015-05-10 19:15:41 UTC (rev 133204)
@@ -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
+}



More information about the arch-commits mailing list