2 # Maintainer: J.W. Birdsong <jwbirdsongATgmailDOTcom>
3 pkgname=hamsimanager-svn
6 pkgdesc="Hamsi Manager is a file manager,renamer,id3 tagger,information changer , tool."
8 url="http://hamsimanager.sourceforge.net"
10 depends=('qt' 'python2-qt' 'python2' 'mplayer')
11 makedepends=('subversion')
12 optdepends=('KDE' 'phonon:optional music player')
13 provides=(hamsimanager)
14 conflicts=(hamsimanager)
15 source=(HamsiManager.desktop hamsi.launcher)
17 md5sums=('603bd4ad05a3f2591424cd218950a6d6'
18 'ec4a30c4c399cd72f42b2975ab5c5314')
20 _svntrunk=https://hamsimanager.svn.sourceforge.net/svnroot/hamsimanager/trunk
26 if [ -d $_svnmod/.svn ]; then
27 (cd $_svnmod && svn up -r $pkgver)
29 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
32 msg "SVN checkout done or server timeout"
34 rm -rf "$srcdir/$_svnmod-build"
35 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
36 cd "$srcdir/$_svnmod-build"
38 sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" $srcdir/$_svnmod-build/HamsiManager.py
40 install -d $pkgdir/{usr/bin/,usr/share/hamsi/}
42 mv $srcdir/$_svnmod-build/* $pkgdir/usr/share/hamsi
43 # Install Desktop File
44 install -D -m644 $srcdir/HamsiManager.desktop \
45 $pkgdir/usr/share/applications/HamsiManager.desktop
46 # Install the Launcher
47 install -D -m755 $srcdir/hamsi.launcher \
50 # vim:set ts=2 sw=2 et: