1 # Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
6 pkgdesc="Translates gamepad/joystick input into key strokes/mouse actions"
8 url="http://qjoypad.sourceforge.net/"
10 source=(qjoypad.desktop)
11 md5sums=('9e48e4e3740ee38ad8b61d40d3a46885')
15 makedepends=('subversion')
18 _svntrunk=http://qjoypad.svn.sourceforge.net/svnroot/qjoypad/trunk
19 #_svntrunk=http://qjoypad.svn.sourceforge.net/svnroot/qjoypad/tags/4.0-pre
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
34 install -d $pkgdir/usr/
37 ./config --prefix=/usr/ --install-dir=$pkgdir || return 1
39 make install || return 1
41 install -d ${pkgdir}/usr/share/applications/ ${pkgdir}/usr/share/pixmaps/
42 install -m644 ${srcdir}/qjoypad.desktop ${pkgdir}/usr/share/applications/
43 install -m644 ${srcdir}/qjoypad/icons/gamepad2-64x64.png -m644 ${pkgdir}/usr/share/pixmaps/qjoypad.png