#Maintainer: Paul Marwick #Former Maintainer(s): gmg pkgname=gphoto2 pkgver=2.4.1 pkgrel=1 zenver=52 arch=i486 source=("http://prdownloads.sourceforge.net/gphoto2/gphoto2-2.4.1.tar.bz2 ") docs=("readme" "install" "copying" "changelog" "news" "todo" "about-nls") url="http://www.gphoto.com/ " slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gphoto2 (a digital camera access application)" "gPhoto2 is a free, redistributable, ready to use set of digital" "camera, software applications for Unix-like systems, written by a" "whole team of dedicated volunteers around the world." "It supports more than 600 cameras" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/gphoto2/test-hook.sh $startdir/pkg/usr/doc/gphoto2-2.4.1/test-hook.sh rmdir $startdir/pkg/usr/share/doc/gphoto2 rmdir $startdir/pkg/usr/share/doc }