Date: Thursday, March 16, 2023 @ 22:43:14
Author: alex19ep
Revision: 1421223
archrelease: copy trunk to community-testing-x86_64
Added:
python-caja/repos/community-testing-x86_64/
python-caja/repos/community-testing-x86_64/PKGBUILD
(from rev 1421222, python-caja/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-caja/repos/community-testing-x86_64/PKGBUILD (from rev 1421222,
python-caja/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2023-03-16 22:43:14 UTC (rev 1421223)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander Epaneshnikov <[email protected]>
+# Contributor: Brad Fanella <[email protected]>
+# Contributor: Martin Wimpress <[email protected]>
+
+pkgname=python-caja
+pkgver=1.27.0
+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')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz")
+sha256sums=('b71852df292479229fd3ca013f23c0ee9a57997ffa108edd36e122e454f2d636')
+
+build() {
+ cd "python-caja-${pkgver}"
+ ./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
+}