1 # Contributor: Shaika-Dzari <shaikadzari at gmail dot com>
5 pkgdesc="Collection manager for your animes and mangas"
7 url="http://code.google.com/p/animeshell/"
10 makedepends=('subversion')
12 conflicts=(animeshell)
16 _svntrunk=http://animeshell.googlecode.com/svn/trunk/Animeshell-1.0
17 _svnmod=animeshell-read-only
20 export QMAKESPEC=linux-g++
23 msg "Connecting to $_svnmod SVN server...."
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk $_svnmod -r $pkgver
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
34 cp -r $_svnmod $_svnmod-build
37 # Clean up Makefile and bin
43 qmake -unix CONFIG+=debug_and_release -o Makefile Animeshell.pro
47 install -Dm755 bin/Animeshell $startdir/pkg/usr/bin/animeshell
50 install -Dm644 $startdir/Animeshell.desktop $startdir/pkg/usr/share/applications/Animeshell.desktop
53 install -Dm644 ui/resources/animeshell-icon-10.png $startdir/pkg/usr/share/pixmaps/animeshell.png