1 # Maintainer: Alexander Epaneshnikov <alex19ep@archlinux.org>
2 # Contributor: Brad Fanella <cesura@archlinux.org>
3 # Contributor: Martin Wimpress <code@flexion.org>
5 pkgbase=caja-extensions
6 pkgname=(caja-extensions-common caja-image-converter caja-open-terminal caja-sendto caja-share caja-wallpaper caja-xattr-tags caja-audio-video-properties)
9 pkgdesc="Caja extensions"
10 url="https://mate-desktop.org"
13 depends=('caja' 'gettext' 'dbus-glib' 'imagemagick' 'samba')
14 makedepends=('python' 'gst-plugins-base')
15 source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgbase-$pkgver.tar.xz")
16 sha256sums=('66651e369f7e266feb317acb68361a4eb5b74210c6e0d0d5a1a5faec4f57180e')
19 cd ${pkgbase}-${pkgver}
21 # UPnP support needs to be ported to GUPnP 1.6
22 # before it can be activated again
23 # https://github.com/mate-desktop/caja-extensions/issues/110
30 #https://bugzilla.gnome.org/show_bug.cgi?id=656231
31 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
36 package_caja-extensions-common() {
37 pkgdesc="Caja extensions (common files)"
40 cd ${pkgbase}-${pkgver}
41 make -C po DESTDIR="${pkgdir}" install
44 package_caja-image-converter() {
45 pkgdesc="A Caja extension for simple image conversions"
46 depends=('caja' 'caja-extensions-common' 'imagemagick')
48 conflicts=('caja-image-converter-gtk3')
49 replaces=('caja-image-converter-gtk3')
51 cd ${pkgbase}-${pkgver}
52 make -C image-converter DESTDIR="${pkgdir}" install
55 package_caja-open-terminal() {
56 pkgdesc="A Caja extension for opening terminals in arbitrary local paths"
57 depends=('caja' 'caja-extensions-common')
59 conflicts=('caja-open-terminal-gtk3')
60 replaces=('caja-open-terminal-gtk3')
62 cd "${srcdir}/${pkgbase}-${pkgver}"
63 make -C open-terminal DESTDIR="${pkgdir}" install
66 package_caja-sendto() {
67 pkgdesc="A Caja extension for sending files"
68 depends=('caja' 'caja-extensions-common' 'dbus-glib')
70 optdepends=('pidgin: Support for sending to instant messaging networks.'
71 'gajim: Support for sending to XMPP.')
72 conflicts=('caja-sendto-gtk3')
73 replaces=('caja-sendto-gtk3')
75 cd ${pkgbase}-${pkgver}
76 make -C sendto DESTDIR="${pkgdir}" install
79 package_caja-share() {
80 pkgdesc="A Caja extension to quickly share a folder"
81 depends=('caja' 'caja-extensions-common' 'samba')
83 conflicts=('caja-share-gtk3')
84 replaces=('caja-share-gtk3')
86 cd ${pkgbase}-${pkgver}
87 make -C share DESTDIR="${pkgdir}" install
90 package_caja-wallpaper() {
91 pkgdesc="A Caja extension to quickly set wallpaper"
92 depends=('caja' 'caja-extensions-common')
94 conflicts=('caja-wallpaper-gtk3')
95 replaces=('caja-wallpaper-gtk3')
97 cd ${pkgbase}-${pkgver}
98 make -C wallpaper DESTDIR="${pkgdir}" install
101 package_caja-xattr-tags() {
102 pkgdesc="A Caja extension to see tags stored on xattrs"
103 depends=('caja' 'caja-extensions-common')
104 groups=('mate-extra')
106 cd ${pkgbase}-${pkgver}
107 make -C xattr-tags DESTDIR="${pkgdir}" install
110 package_caja-audio-video-properties() {
111 pkgdesc="A Caja extension to see information about audio or video files"
112 depends=('caja' 'caja-extensions-common' 'gst-plugins-base')
113 groups=('mate-extra')
115 cd ${pkgbase}-${pkgver}
116 make -C audio-video-properties DESTDIR="${pkgdir}" install