1 # Contributor: Andreas Schönfelder <passtschu at freenet dot de>
6 pkgdesc="gPhoto is a program and library framework that lets users download pictures from their digital cameras."
8 url="http://www.gphoto.org"
10 depends=('libexif' 'libusb')
11 makedepends=('subversion' 'automake' 'autoconf' 'libtool' 'gettext' 'pkg-config')
12 provides=('libgphoto2=2.4.99.7')
13 conflicts=('libgphoto2')
14 replaces=('libgphoto2')
16 _svntrunk=https://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/libgphoto2
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
38 autoreconf --install --symlink
39 ./configure --prefix=/usr
41 make DESTDIR="$pkgdir/" install