#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=simple-scan pkgver=3.2.1 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/simple-scan/3.2/simple-scan-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=https://launchpad.net/simple-scan options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi # glib2 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------------------------------------------------------| "simple-scan (Simple Scanning Utility)" "Simple Scan is an easy-to-use application, designed to let users" "connect their scanner and quickly have the image/document in an" "appropriate format.Simple Scan is basically a frontend for" "SANE - which is the same backend as XSANE uses. This means that all" "existing scanners will work and the interface is well tested." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --disable-scrollkeeper --disable-schemas-compile make || return 1 make install DESTDIR=$startdir/pkg }