Date: Friday, February 9, 2018 @ 19:24:54
  Author: arojas
Revision: 290573

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: python2-caja/repos/community-staging-x86_64/PKGBUILD (from rev 290572, 
python2-caja/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-09 19:24:54 UTC (rev 290573)
@@ -0,0 +1,36 @@
+# Contributor: Martin Wimpress <c...@flexion.org>
+
+pkgname=python2-caja
+pkgver=1.20.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=('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=('ffc3d0e6337fc5883d6828ed8e69fab270e72e24')
+
+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
+}

Reply via email to