1 # Contributor: Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
5 pkgdesc="A perceptual difference utility for images."
7 url="http://pdiff.sourceforge.net/"
9 makedepends=('svn' 'cmake')
16 _svntrunk="https://pdiff.svn.sourceforge.net/svnroot/pdiff/trunk"
21 msg "Connecting to SVN server...."
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
32 svn export $_svnmod $_svnmod-build
33 cd "$srcdir/$_svnmod-build"
36 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
37 make install DESTDIR=$pkgdir