Date: Sunday, October 27, 2019 @ 19:02:45 Author: cesura Revision: 520790
Added: python-caja/ python-caja/repos/ python-caja/trunk/ python-caja/trunk/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Added: python-caja/trunk/PKGBUILD =================================================================== --- python-caja/trunk/PKGBUILD (rev 0) +++ python-caja/trunk/PKGBUILD 2019-10-27 19:02:45 UTC (rev 520790) @@ -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 +}