diff options
Diffstat (limited to 'community/caja-extensions')
-rw-r--r-- | community/caja-extensions/PKGBUILD | 34 | ||||
-rw-r--r-- | community/caja-extensions/caja-extensions.install | 19 |
2 files changed, 53 insertions, 0 deletions
diff --git a/community/caja-extensions/PKGBUILD b/community/caja-extensions/PKGBUILD new file mode 100644 index 000000000..338210041 --- /dev/null +++ b/community/caja-extensions/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 106660 2014-03-06 11:40:34Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgname=caja-extensions +pkgver=1.8.0 +pkgrel=1 +pkgdesc="Caja extensions." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('caja' 'dbus-glib' 'gksu' 'gtk2' 'gupnp' 'imagemagick' 'samba') +makedepends=('mate-common' 'perl-xml-parser') +optdepends=('pidgin: Support for sending to instant messaging networks.' + 'gajim: Support for sending to Jabber.') +conflicts=('mate-file-manager-gksu' 'mate-file-manager-image-converter' 'mate-file-manager-open-terminal' 'mate-file-manager-sendto' 'mate-file-manager-share') +replaces=('mate-file-manager-gksu' 'mate-file-manager-image-converter' 'mate-file-manager-open-terminal' 'mate-file-manager-sendto' 'mate-file-manager-share') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz") +sha1sums=('b4872265988745bfc39531e2eb6ac6d41a01a645') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --with-gtk=2.0 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/caja-extensions/caja-extensions.install b/community/caja-extensions/caja-extensions.install new file mode 100644 index 000000000..8fa189f58 --- /dev/null +++ b/community/caja-extensions/caja-extensions.install @@ -0,0 +1,19 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +pre_remove() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ +} + +post_remove() { + : +} |