1 pkgname=gmapcatcher-svn
4 pkgdesc="GMapCatcher is an offline maps viewer"
6 url="http://code.google.com/p/gmapcatcher"
8 depends=('python' 'pygtk' 'gtk2' 'pycairo' 'pygobject')
9 makedepends=(subversion)
10 provides=(gmapcatcher)
11 source=('gmapcatcher.desktop' 'gmapcatcher.png')
12 md5sums=('2da3b301f56c0303ba8d67e45ea44019' 'bc0ce84192f1a60087662310c24cab8f')
14 _svntrunk="http://gmapcatcher.googlecode.com/svn/trunk"
18 mkdir -p $pkgdir/usr/bin
19 mkdir -p $pkgdir/usr/share/pixmaps
21 mkdir -p $pkgdir/usr/share/applications
23 msg "Connecting to SVN server...."
24 svn checkout http://gmapcatcher.googlecode.com/svn/trunk gmapcatcher
25 msg "SVN checkout done or server timeout"
26 svn export gmapcatcher $pkgdir/usr/share/gmapcatcher
27 rm -r $pkgdir/usr/share/gmapcatcher/{common,installer}
28 ln -s "/usr/share/gmapcatcher/maps.py" $pkgdir/usr/bin/gmapcatcher
29 ln -s "/usr/share/gmapcatcher/download.py" $pkgdir/usr/bin/gmapcatcher-download
30 cp $startdir/gmapcatcher.desktop $pkgdir/usr/share/applications/gmapcatcher.desktop
31 chmod +x $pkgdir/usr/share/applications/gmapcatcher.desktop
32 cp $startdir/gmapcatcher.png $pkgdir/usr/share/pixmaps