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

Felix Yan felixonmars at archlinux.org
Mon Jan 15 17:33:35 UTC 2018


    Date: Monday, January 15, 2018 @ 17:33:34
  Author: felixonmars
Revision: 282799

archrelease: copy trunk to community-staging-x86_64

Added:
  pluma/repos/community-staging-x86_64/
  pluma/repos/community-staging-x86_64/PKGBUILD
    (from rev 282798, pluma/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: pluma/repos/community-staging-x86_64/PKGBUILD (from rev 282798, pluma/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-01-15 17:33:34 UTC (rev 282799)
@@ -0,0 +1,44 @@
+# Maintaier:
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=pluma
+pkgver=1.18.3
+pkgrel=3
+pkgdesc="A powerful text editor for MATE"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+depends=('iso-codes' 'mate-desktop' 'zenity' 'gtksourceview3' 'libpeas')
+makedepends=('intltool' 'itstool' 'gobject-introspection' 'python2' 'mate-common' 'yelp-tools')
+optdepends=('python2-gobject: to use the python plugins')
+groups=('mate-extra')
+conflicts=('pluma-gtk3')
+replaces=('pluma-gtk3')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('20f60758e37ce264fa3a13f0027bf411b84e98467f2e063783c19cefe496e2af')
+
+prepare() {
+    cd ${pkgname}-${pkgver}
+    sed -i 's/python/python2/' plugins/externaltools/data/switch-c.tool.in
+    sed -i 's/, enchant/, enchant-2/' configure.ac
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    ./autogen.sh
+    PYTHON=/usr/bin/python2 ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${pkgname} \
+        --enable-gtk-doc=no \
+        --enable-python
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list