Date: Sunday, September 4, 2022 @ 12:55:34 Author: alex19ep Revision: 1292832
archrelease: copy trunk to community-testing-x86_64 Added: caja-extensions/repos/community-testing-x86_64/ caja-extensions/repos/community-testing-x86_64/PKGBUILD (from rev 1292831, caja-extensions/trunk/PKGBUILD) ----------+ PKGBUILD | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) Copied: caja-extensions/repos/community-testing-x86_64/PKGBUILD (from rev 1292831, caja-extensions/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2022-09-04 12:55:34 UTC (rev 1292832) @@ -0,0 +1,102 @@ +# Maintainer: Alexander Epaneshnikov <alex1...@archlinux.org> +# Contributor: Brad Fanella <ces...@archlinux.org> +# Contributor: Martin Wimpress <c...@flexion.org> + +pkgbase=caja-extensions +pkgname=(caja-extensions-common caja-image-converter caja-open-terminal caja-sendto caja-share caja-wallpaper caja-xattr-tags) +pkgver=1.26.1 +pkgrel=1 +pkgdesc="Caja extensions" +url="https://mate-desktop.org" +arch=('x86_64') +license=('GPL') +depends=('caja' 'gettext' 'dbus-glib' 'gupnp' 'imagemagick' 'samba') +makedepends=('python') +source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgbase-$pkgver.tar.xz") +sha256sums=('589c19e3fa10242d6239a5ccb9585598436a56ebe94d2eb2a50b5950cce1d520') + +build() { + cd ${pkgbase}-${pkgver} + ./configure \ + --prefix=/usr \ + --disable-gksu + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package_caja-extensions-common() { + pkgdesc="Caja extensions (common files)" + depends=() + + cd ${pkgbase}-${pkgver} + make -C po DESTDIR="${pkgdir}" install +} + +package_caja-image-converter() { + pkgdesc="A Caja extension for simple image conversions" + depends=('caja' 'caja-extensions-common' 'imagemagick') + groups=('mate-extra') + conflicts=('caja-image-converter-gtk3') + replaces=('caja-image-converter-gtk3') + + cd ${pkgbase}-${pkgver} + make -C image-converter DESTDIR="${pkgdir}" install +} + +package_caja-open-terminal() { + pkgdesc="A Caja extension for opening terminals in arbitrary local paths" + depends=('caja' 'caja-extensions-common') + groups=('mate-extra') + conflicts=('caja-open-terminal-gtk3') + replaces=('caja-open-terminal-gtk3') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make -C open-terminal DESTDIR="${pkgdir}" install +} + +package_caja-sendto() { + pkgdesc="A Caja extension for sending files" + depends=('caja' 'caja-extensions-common' 'dbus-glib' 'gupnp') + groups=('mate-extra') + optdepends=('pidgin: Support for sending to instant messaging networks.' + 'gajim: Support for sending to XMPP.') + conflicts=('caja-sendto-gtk3') + replaces=('caja-sendto-gtk3') + + cd ${pkgbase}-${pkgver} + make -C sendto DESTDIR="${pkgdir}" install +} + +package_caja-share() { + pkgdesc="A Caja extension to quickly share a folder" + depends=('caja' 'caja-extensions-common' 'samba') + groups=('mate-extra') + conflicts=('caja-share-gtk3') + replaces=('caja-share-gtk3') + + cd ${pkgbase}-${pkgver} + make -C share DESTDIR="${pkgdir}" install +} + +package_caja-wallpaper() { + pkgdesc="A Caja extension to quickly set wallpaper" + depends=('caja' 'caja-extensions-common') + groups=('mate-extra') + conflicts=('caja-wallpaper-gtk3') + replaces=('caja-wallpaper-gtk3') + + cd ${pkgbase}-${pkgver} + make -C wallpaper DESTDIR="${pkgdir}" install +} + +package_caja-xattr-tags() { + pkgdesc="A Caja extension to see tags stored on xattrs" + depends=('caja' 'caja-extensions-common') + groups=('mate-extra') + + cd ${pkgbase}-${pkgver} + make -C xattr-tags DESTDIR="${pkgdir}" install +}