1 #pkgbase="touchegg-svn"
2 #pkgname=('touchegg-svn' 'touchegg-gui-svn')
4 true && pkgname=('touchegg-svn' 'touchegg-gui-svn') #Darn you, AUR!
8 url="https://code.google.com/p/touchegg/"
10 depends=('qt' 'utouch-geis')
11 makedepends=('subversion')
15 _svntrunk=http://touchegg.googlecode.com/svn
20 msg "Connecting to SVN server..."
22 if [[ -d "${_svnmod}/.svn" ]]; then
23 (cd "${_svnmod}" && svn up -r "${pkgver}")
25 svn co "${_svntrunk}" --config-dir ./ -r "${pkgver}" "${_svnmod}"
28 msg "SVN checkout done or server timeout"
29 msg "Starting build..."
31 cd "${srcdir}/${_svnmod}/${pkgname[0]%-*}"
35 cd "${srcdir}/${_svnmod}/${pkgname[1]%-*}"
40 package_touchegg-svn() {
41 pkgdesc="Multitouch gesture recognizer"
43 conflicts=('touchegg')
45 cd "${srcdir}/${_svnmod}/${pkgname[0]%-*}"
46 make INSTALL_ROOT="${pkgdir}" DESTDIR="${pkgdir}" install
49 package_touchegg-gui-svn() {
50 pkgdesc="Multitouch gesture recognizer (GUI)"
51 provides=('touchegg-gui')
52 conflicts=('touchegg-gui')
54 cd "${srcdir}/${_svnmod}/${pkgname[1]%-*}"
55 make INSTALL_ROOT="${pkgdir}" DESTDIR="${pkgdir}" install
58 # vim:set ts=2 sw=2 et: