[arch-commits] Commit in caja-extensions/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Wed Feb 7 22:01:09 UTC 2018
Date: Wednesday, February 7, 2018 @ 22:01:08
Author: arojas
Revision: 290077
archrelease: copy trunk to community-staging-x86_64
Added:
caja-extensions/repos/community-staging-x86_64/
caja-extensions/repos/community-staging-x86_64/PKGBUILD
(from rev 290076, caja-extensions/trunk/PKGBUILD)
----------+
PKGBUILD | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 111 insertions(+)
Copied: caja-extensions/repos/community-staging-x86_64/PKGBUILD (from rev 290076, caja-extensions/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-02-07 22:01:08 UTC (rev 290077)
@@ -0,0 +1,111 @@
+# Maintainer:
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgbase=caja-extensions
+pkgname=(caja-extensions-common caja-gksu caja-image-converter caja-open-terminal caja-sendto caja-share caja-wallpaper caja-xattr-tags)
+pkgver=1.20.0
+pkgrel=1
+pkgdesc="Caja extensions"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+depends=('caja' 'dbus-glib' 'gksu' 'gupnp' 'imagemagick' 'samba')
+makedepends=('intltool' 'python')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgbase-$pkgver.tar.xz")
+sha256sums=('f2b65081ddbe9062c5a6ee1e00b6433b43a4c7aaeb90e34047fbf41a863e71a9')
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ PYTHON=/usr/bin/python2 ./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_caja-extensions-common() {
+ pkgdesc="Caja extensions (common files)"
+ depends=()
+
+ cd ${pkgbase}-${pkgver}
+ make -C po DESTDIR="${pkgdir}" install
+}
+
+package_caja-gksu() {
+ pkgdesc="Privilege granting extension for Caja using gksu"
+ depends=('caja' 'caja-extensions-common' 'gksu')
+ groups=('mate-extra')
+ conflicts=('caja-gksu-gtk3')
+ replaces=('caja-gksu-gtk3')
+
+ cd ${pkgbase}-${pkgver}
+ make -C gksu 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 Jabber.')
+ 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
+}
More information about the arch-commits
mailing list