#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=sushi pkgver=0.2.1 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/sushi/0.2/$pkgname-$pkgver.tar.xz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://ftp.gnome.org/pub/GNOME/sources/sushi/ options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "sushi (A quick previewer for Nautilus)" "Sushi is GtkClutter and Javascript-based and supports all kind of" "files like images, documents, PDFs, fonts, sound (by the way, you" "can't preview sound files by hovering them in Nautilus 3.2 like in" "older Nautilus versions) and video files, some text files and more." ) doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi # update the gconf schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg }