1 # Contributor: Flexoid <flexoid@gmail.com>
2 # Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
3 # Maintainer: Chris Heien <chris.h.heien@gmail.com>
8 pkgdesc="Face recognition library. SVN Version"
10 url="http://libface.sourceforge.net/"
12 depends=('opencv>=2.1')
13 makedepends=('subversion' 'cmake' 'pkgconfig')
17 _svntrunk='https://libface.svn.sourceforge.net/svnroot/libface/trunk'
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up)
25 svn co $_svntrunk $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
30 if [[ -d ${srcdir}/${_svnmod}-build ]]; then
31 msg "Cleaning the previous build directory..."
32 rm -rf ${srcdir}/${_svnmod}-build
37 cmake $startdir/src/$_svnmod -DCMAKE_BUILD_TYPE=Release \
38 -DCMAKE_SKIP_RPATH=ON \
39 -DCMAKE_INSTALL_PREFIX=/usr \
45 cd ${srcdir}/$_svnmod-build
46 make DESTDIR=${pkgdir} install