1 # Maintainer: kevku <kevku@gmx.com>
2 pkgname=qesteidutil-svn
6 pkgdesc="Estonian ID-card utility (Community dev version)"
8 url="http://code.google.com/p/esteid"
10 depends=('smartcardpp-svn' 'qt' 'libp11')
11 makedepends=('cmake' 'subversion')
12 conflicts=('sk-qesteidutil-svn')
13 install=('qesteidutil.install')
15 _svntrunk=https://esteid.googlecode.com/svn/$_pkgname/trunk
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_svnmod-build"
31 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
32 cd "$srcdir/$_svnmod-build"
34 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX="" -DSYSCONF_INSTALL_DIR=/etc
39 cd "$srcdir/$_svnmod-build"
40 make DESTDIR="$pkgdir/" install