# Maintainer: Czcibor Bohusz-Dobosz # Contributor: Martin Wimpress _ver=1.16 _pkgbase=caja pkgname=${_pkgbase}-gtk2 pkgver=${_ver}.6 pkgrel=2 pkgdesc="File manager for the MATE desktop (older GTK2 version)" url="http://mate-desktop.org" arch=('i686' 'x86_64') license=('GPL') depends=('exempi' 'gvfs' 'libexif' 'libsm' 'libunique' 'mate-desktop-gtk2') makedepends=('gobject-introspection' 'intltool') optdepends=('gstreamer: automatic media playback on mouseover') groups=('mate-gtk2') conflicts=("${_pkgbase}") provides=("${_pkgbase}") source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz") sha1sums=('97f6ea82393e808f3809152ac4ba0afbb96bf380') build() { cd "${srcdir}/${_pkgbase}-${pkgver}" ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/${_pkgbase} \ --with-gtk=2.0 \ --enable-introspection \ --disable-update-mimedb #https://bugzilla.gnome.org/show_bug.cgi?id=656231 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make LDFLAGS="-Wl,--allow-multiple-definition" } package() { cd "${srcdir}/${_pkgbase}-${pkgver}" make DESTDIR="${pkgdir}" install # Remove D-Bus activation file to avoid conflict with nautilus-desktop rm -r "$pkgdir/usr/share/dbus-1/" }