#Packager: George Vlahavas pkgname=whaaw-thumbnailer-caja pkgver=1.0 pkgrel=1gv arch=noarch source=("whaaw-thumbnailer-caja-1.0.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew' 'nosrcpack') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "whaaw-thumbnailer-caja (Create thumbnails in Caja)" "This package includes MateConf schemas to use whaaw-thumbnailer with" "Caja, the file manager of the MATE Desktop Environment." ) build() { cd $startdir/src/$pkgname make install DESTDIR=$startdir/pkg # Install mateconf schemas in the package export MATECONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/mateconf/mateconf.xml.defaults" if [ -d $startdir/pkg/etc/mateconf/schemas ]; then install -v -d -m755 $startdir/pkg/etc/mateconf/mateconf.xml.defaults SCHEMAS=$startdir/pkg/etc/mateconf/schemas for schema in $SCHEMAS/*.schemas; do mateconftool-2 --makefile-install-rule $schema done # Reset / Verify correct permissions ( cd $startdir/pkg/etc/mateconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/mateconf ; find . -type f -exec chmod 644 {} \; ) fi }