Date: Wednesday, November 22, 2017 @ 16:46:20 Author: arojas Revision: 268057
archrelease: copy trunk to community-staging-x86_64 Added: pluma/repos/community-staging-x86_64/ pluma/repos/community-staging-x86_64/PKGBUILD (from rev 268056, pluma/trunk/PKGBUILD) ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Copied: pluma/repos/community-staging-x86_64/PKGBUILD (from rev 268056, pluma/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-11-22 16:46:20 UTC (rev 268057) @@ -0,0 +1,42 @@ +# Maintaier: +# Contributor: Martin Wimpress <c...@flexion.org> + +pkgname=pluma +pkgver=1.18.3 +pkgrel=2 +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') +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 +} + +build() { + cd ${pkgname}-${pkgver} + 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 +}