#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=cheese pkgver=3.2.2 zenver=72 pkgrel=1 arch=i686 source=(http://ftp.gnome.org/pub/GNOME/sources/cheese/3.2/cheese-$pkgver.tar.bz2 \ http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname/cheese.gst_debug.init.diff) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://projects.gnome.org/cheese/ sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # 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 # 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------------------------------------------------------| "cheese - take pictures and videos from a webcam" "Cheese is a Photobooth-inspired GNOME application for taking pictures" "and videos from a webcam. It also includes fancy graphical effects" "based on the gstreamer-backend." ) build() { cd $startdir/src/$pkgname-$pkgver # patch -p1 < ../cheese.gst_debug.init.diff ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --enable-introspection=yes --disable-static make || return 1 make install DESTDIR=$startdir/pkg }