1 # Contributor: muzuiget <muzuiget@gmail.com>
6 pkgdesc="A http proxy based on Google App Engine"
8 url="http://code.google.com/p/gappproxy/"
10 conflicts=('gappproxy')
11 provides=('gappproxy')
14 arch=('i686' 'x86_64')
16 _svntrunk="http://gappproxy.googlecode.com/svn/trunk/"
17 _svnmod="gappproxy-read-only"
23 msg "Updating SVN entries for $_svnmod..."
24 svn checkout $_svntrunk $_svnmod
25 svn export $_svnmod gappproxy-${pkgver}
26 msg "SVN checkout done or server timeout"
29 mkdir -p $startdir/pkg/opt/gappproxy/
30 mv $startdir/src/gappproxy-${pkgver}/* $startdir/pkg/opt/gappproxy/
31 chown -R root:root $startdir/pkg/opt/gappproxy/
33 mkdir -p $startdir/pkg/usr/bin/
34 mkdir -p $startdir/pkg/usr/share/pixmaps/
35 mkdir -p $startdir/pkg/usr/share/applications/
36 ln -s /opt/gappproxy/localproxy/proxy.py $startdir/pkg/usr/bin/gappproxy
37 cp $startdir/gappproxy.png $startdir/pkg/usr/share/pixmaps/
38 cp $startdir/gappproxy.desktop $startdir/pkg/usr/share/applications/