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

Antonio Rojas arojas at archlinux.org
Fri Mar 17 22:48:14 UTC 2017


    Date: Friday, March 17, 2017 @ 22:48:14
  Author: arojas
Revision: 217011

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

Added:
  python2-caja/repos/community-staging-i686/
  python2-caja/repos/community-staging-i686/PKGBUILD
    (from rev 217010, python2-caja/trunk/PKGBUILD)
  python2-caja/repos/community-staging-x86_64/
  python2-caja/repos/community-staging-x86_64/PKGBUILD
    (from rev 217010, python2-caja/trunk/PKGBUILD)

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

Copied: python2-caja/repos/community-staging-i686/PKGBUILD (from rev 217010, python2-caja/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-17 22:48:14 UTC (rev 217011)
@@ -0,0 +1,36 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=python2-caja
+pkgver=1.18.0
+pkgrel=1
+pkgdesc="Python binding for Caja, to allow Caja property page and menu item extensions to be written in Python"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('caja' 'python2-gobject')
+makedepends=('intltool')
+conflicts=('python2-caja-gtk3')
+replaces=('python2-caja-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz")
+sha1sums=('fb4e8b53694651bb606e5f9d361b9997d927875a')
+
+prepare() {
+    cd python-caja-${pkgver}
+    sed -i 's/python-config/python2-config/' configure
+}
+
+build() {
+    cd python-caja-${pkgver}
+    PYTHON=/usr/bin/python2 ./configure \
+        --prefix=/usr
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd python-caja-${pkgver}
+    make DESTDIR="${pkgdir}" install
+}

Copied: python2-caja/repos/community-staging-x86_64/PKGBUILD (from rev 217010, python2-caja/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-17 22:48:14 UTC (rev 217011)
@@ -0,0 +1,36 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=python2-caja
+pkgver=1.18.0
+pkgrel=1
+pkgdesc="Python binding for Caja, to allow Caja property page and menu item extensions to be written in Python"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('caja' 'python2-gobject')
+makedepends=('intltool')
+conflicts=('python2-caja-gtk3')
+replaces=('python2-caja-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz")
+sha1sums=('fb4e8b53694651bb606e5f9d361b9997d927875a')
+
+prepare() {
+    cd python-caja-${pkgver}
+    sed -i 's/python-config/python2-config/' configure
+}
+
+build() {
+    cd python-caja-${pkgver}
+    PYTHON=/usr/bin/python2 ./configure \
+        --prefix=/usr
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd python-caja-${pkgver}
+    make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list