1 # Contributor: Semen Turchikhin <tursom@gmail.com>
6 pkgdesc="Many dictionary formats converter"
7 url="http://xdxf.sourceforge.net/"
10 depends=('glib2' 'expat' 'python')
11 makedepends=('cmake' 'subversion')
15 _svntrunk="https://xdxf.svn.sourceforge.net/svnroot/xdxf/trunk"
20 msg "Updating dpkt SVN..."
21 svn co $_svntrunk -r $pkgver $svnmod
22 msg "SVN checkout done or server timeout"
23 msg "Starting make..."
24 cd $startdir/src/trunk
25 cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1
27 python setup.py install --prefix=$startdir/pkg/usr
33 if [ -d $_svnmod/.svn ]; then
34 (cd $_svnmod && svn up -r $pkgver)
36 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
38 msg "SVN checkout done or server timeout"
39 msg "Starting make..."
42 cp -r $_svnmod $_svnmod-build
45 cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1
47 make DESTDIR=$pkgdir install || return 1