1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Adam Lloyd <lloyda2 (at) rpi (dot) edu>
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
8 pkgdesc="QT4 interface for aria2 download mananger"
10 url="http://sourceforge.net/projects/karia2"
12 depends=('qt' 'aria2' 'libxtst')
13 makedepends=('subversion')
15 _svntrunk=https://karia2.svn.sourceforge.net/svnroot/karia2/trunk
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 export LC_CTYPE="en_US.UTF-8"
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 [ -d $_svnmod-build ] && rm -r $_svnmod-build
32 cp -r $_svnmod $_svnmod-build
36 sed -i 's;/opt/karia2/resume;/usr/bin/karia2-resume;' karia2.cpp
41 cd $srcdir/$_svnmod-build
42 install -Dm755 bin/karia2 $pkgdir/usr/bin/karia2
43 install -d $pkgdir/usr/share/karia2/images
44 install -Dm644 images/wood{background,button}.png \
45 $pkgdir/usr/share/karia2/images/