#Packager: George Vlahavas # Modified for Slint by Didier Spaier pkgname=caja pkgver=1.24.1 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1slint source=("http://pub.mate-desktop.org/releases/${_majorver}/caja-${pkgver}.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew' 'nosrcpack') doinst() { # compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-file-manager (file manager and graphical shell for MATE)" "mate-file-manager is the official file manager for the MATE desktop." "It allows to browse directories, preview files and launch applications" "associated with them. It is also responsible for handling the icons" "on the MATE desktop. It works on local and remote filesystems." ) build() { cd $startdir/src/caja-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux \ --disable-static \ --enable-gtk-doc \ --disable-packagekit \ --disable-schemas-compile \ --disable-update-mimedb \ --enable-introspection make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }