# Maintainer: Alexander Epaneshnikov # Contributor: Brad Fanella # Contributor: Martin Wimpress pkgname=caja pkgver=1.27.0 pkgrel=1 pkgdesc="File manager for the MATE desktop" url="https://mate-desktop.org" arch=('x86_64') license=('GPL') depends=('exempi' 'gvfs' 'libexif' 'libsm' 'mate-desktop' 'libnotify') makedepends=('gobject-introspection' 'intltool') optdepends=('gstreamer: automatic media playback when mouseover') groups=('mate') conflicts=('caja-gtk3') replaces=('caja-gtk3') source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz") sha256sums=('afdbd0ca7f06c84777124793b388ae6ab8c34acb7d34ab7cdbae47e126d883bb') build() { cd "$pkgname-$pkgver" ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --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 } package() { cd "$pkgname-$pkgver" make DESTDIR="${pkgdir}" install # Remove D-Bus activation file to avoid conflict with nautilus-desktop rm -r "$pkgdir/usr/share/dbus-1/" }