1 # Maintainer: Tasos Latsas <tlatsas2000 _at_ gmail _dot_ com>
6 pkgdesc="Linux console webcam screenshot utility"
8 url="http://code.google.com/p/camshot/"
11 makedepends=('subversion')
13 _svntrunk="http://camshot.googlecode.com/svn/trunk/"
18 msg "Connecting to SVN server...."
20 if [[ -d "$_svnmod/.svn" ]]; then
21 (cd "$_svnmod" && svn up -r "$pkgver")
23 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
26 msg "SVN checkout done or server timeout"
27 msg "Starting build..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
37 cd "$srcdir/$_svnmod-build"
38 install -Dm775 camshot "${pkgdir}/usr/bin/camshot"
41 # vim:set ts=2 sw=2 et: