1 # Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
7 pkgdesc="A simple GTK frontend for VirtualBox OSE"
9 url="http://vboxgtk.sourceforge.net/"
11 depends=('pygtk>=2.14' 'virtualbox>=4.1.0' 'virtualbox-sdk>=4.1.0')
12 makedepends=('subversion' 'intltool')
15 install=vboxgtk.install
17 md5sums=('fd6d68197584bb63b415651c811f74f5')
19 _svntrunk=https://${_pkgname}.svn.sourceforge.net/svnroot/${_pkgname}/trunk
25 msg "Updating from SVN"
26 if [ -d ${_svnmod}/.svn ]; then
27 (cd ${_svnmod} && svn up)
29 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
31 msg "SVN checkout done."
34 rm -rf ./${_svnmod}-build
35 svn export ./${_svnmod} ./${_svnmod}-build
38 patch -Np1 -i ../fixes.patch
42 cd ${srcdir}/${_svnmod}-build
44 python2 setup.py install --root=${pkgdir}