1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
6 pkgdesc="French rime dictionary"
8 url="http://ignu.ungi.com/tiki-index.php?page=dictionnaire+de+rimes"
11 makedepends=('subversion')
17 _svntrunk=http://dev.ignu.fr/qdicorime/trunk
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done (or server timeout)"
31 msg "Starting make..."
33 rm -rf "$_svnmod-build"
34 cp -r $_svnmod $_svnmod-build
40 make DESTDIR=$pkgdir install || return 1
43 mkdir -p $pkgdir/usr/bin/
44 mkdir -p $pkgdir/usr/share/dicorime/base/
46 cp $srcdir/$_svnmod-build/bin/dicorime $pkgdir/usr/bin/
47 cp -fr $srcdir/$_svnmod-build/base/*.db $pkgdir/usr/share/dicorime/base/
51 mkdir -p $pkgdir/usr/share/pixmaps
52 mkdir -p $pkgdir/usr/share/applications
54 cp $srcdir/$_svnmod-build/src/images/${pkgrealname}128.png $pkgdir/usr/share/pixmaps/$pkgrealname.png
56 install -D -m644 $srcdir/../$pkgrealname.desktop $pkgdir/usr/share/applications/$pkgrealname.desktop