1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=streetview-explorer
7 pkgdesc="View StreetView imagery in 3D"
9 url="http://code.google.com/p/streetview-explorer/"
10 license=('custom:WTFPL')
11 depends=('wxgtk' 'curl' 'glew')
12 makedepends=('subversion')
15 install="$pkgname.install"
16 source=("http://code.google.com/p/streetview-explorer/logo"
17 "http://sam.zoy.org/wtfpl/COPYING"
19 md5sums=('6dc8cc05999a19de43ade9a78e7ffb30'
20 '389a9e29629d1f05e115f8f05c283df5'
21 '23fbd334278670a023887d50391acd72')
23 _svntrunk="http://streetview-explorer.googlecode.com/svn/trunk/src"
29 if [ -d $_svnmod/.svn ]; then
30 (cd $_svnmod && svn up -r $pkgver)
32 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
35 msg "SVN checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_svnmod-build"
39 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
40 cd "$srcdir/$_svnmod-build"
50 cd "$srcdir/$_svnmod-build"
53 install -Dm755 $_pkg "$pkgdir/usr/bin/$_pkg"
56 install -Dm644 ../$_pkg.desktop \
57 "$pkgdir/usr/share/applications/$_pkg.desktop"
60 install -Dm644 ../logo \
61 "$pkgdir/usr/share/pixmaps/$_pkg.png"
64 install -Dm644 ../COPYING \
65 "$pkgdir/usr/share/licenses/$_pkg/COPYING"