Date: Sunday, October 27, 2019 @ 19:05:05
  Author: cesura
Revision: 520791

archrelease: copy trunk to community-x86_64

Added:
  python-caja/repos/community-x86_64/
  python-caja/repos/community-x86_64/PKGBUILD
    (from rev 520790, python-caja/trunk/PKGBUILD)

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

Copied: python-caja/repos/community-x86_64/PKGBUILD (from rev 520790, 
python-caja/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2019-10-27 19:05:05 UTC (rev 520791)
@@ -0,0 +1,36 @@
+# Maintainer: Brad Fanella <ces...@archlinux.org>
+# Contributor: Martin Wimpress <c...@flexion.org>
+
+pkgname=python-caja
+pkgver=1.22.1
+pkgrel=1
+pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python"
+url="https://mate-desktop.org";
+arch=('x86_64')
+license=('GPL')
+depends=('caja' 'python-gobject')
+makedepends=('intltool')
+conflicts=('python2-caja')
+replaces=('python2-caja')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz";)
+sha256sums=('13ef4920047033e88dc1906a98c215e3b365159259cb8f04dcd92aa388de131e')
+
+prepare() {
+       cd "python-caja-${pkgver}"
+}
+
+build() {
+       cd "python-caja-${pkgver}"
+       PYTHON=python3 ./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