Date: Friday, February 9, 2018 @ 19:23:09
  Author: arojas
Revision: 290569

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pluma/repos/community-staging-x86_64/PKGBUILD (from rev 290568, 
pluma/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-09 19:23:09 UTC (rev 290569)
@@ -0,0 +1,44 @@
+# Maintaier:
+# Contributor: Martin Wimpress <c...@flexion.org>
+
+pkgname=pluma
+pkgver=1.20.0
+pkgrel=1
+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=('aee0072dea73135b391dd4cb192fee9cd9c7a0639e3616c4502e8760c1115d70')
+
+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
+}

Reply via email to