#Converted to SLKBUILD: Markus Muttilainen #Maintainer: Paul Marwick (toothandnail) #Former Maintainer(s): gmg (monpontet.gerard@neuf.fr) pkgname=gthumb pkgver=2.10.11 pkgrel=1mm arch=i486 source=(http://ftp.gnome.org/pub/GNOME/sources/gthumb/2.10/$pkgname-$pkgver.tar.bz2) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/toothandnail//$pkgname/$pkgver/ #sourcetemplate=http://users.zenwalk.org/user-accounts/paul/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") options=('noautodotnew') url="http://gthumb.sourceforge.net/" doinst() { # Update the scrollkeeper database (remove stale sections) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gthumb (image viewer and browser for the Gnome enviroment)" "gThumb is an image viewer for the Gnome enviroment. It allows you" "to browse your hard disk, showing thumbnails of image files. It allows" "access to digital cameras using libgphoto2. Supports slideshows," "catalogues, printing images, setting a desktop background." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg export GCONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/gconf/gconf.xml.defaults" if [ -d $startdir/pkg/etc/gconf/schemas ]; then install -v -d -m755 $startdir/pkg/etc/gconf/gconf.xml.defaults SCHEMAS=$startdir/pkg/etc/gconf/schemas for schema in $SCHEMAS/*.schemas; do gconftool-2 --makefile-install-rule $schema done # Reset / Verify correct permissions ( cd $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi }