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

Balló György bgyorgy at archlinux.org
Sat Aug 6 21:43:28 UTC 2016


    Date: Saturday, August 6, 2016 @ 21:43:28
  Author: bgyorgy
Revision: 185719

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 185718, pluma/trunk/PKGBUILD)
  pluma/repos/community-staging-x86_64/
  pluma/repos/community-staging-x86_64/PKGBUILD
    (from rev 185718, pluma/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: pluma/repos/community-staging-i686/PKGBUILD (from rev 185718, pluma/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-08-06 21:43:28 UTC (rev 185719)
@@ -0,0 +1,42 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+_ver=1.14
+_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=('iso-codes' 'mate-desktop' 'pygtksourceview2' 'zenity')
+makedepends=('intltool' 'itstool')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('e521a50260b46af94adf43078dc430c0f590a24a')
+
+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
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: pluma/repos/community-staging-x86_64/PKGBUILD (from rev 185718, pluma/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-08-06 21:43:28 UTC (rev 185719)
@@ -0,0 +1,42 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+_ver=1.14
+_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=('iso-codes' 'mate-desktop' 'pygtksourceview2' 'zenity')
+makedepends=('intltool' 'itstool')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('e521a50260b46af94adf43078dc430c0f590a24a')
+
+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
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list