4 pkgdesc="A layout-agnostic typing program aimed at people who don't need an on-screen keyboard"
6 url="http://code.google.com/p/amphetype/"
8 depends=('qt' 'python2' 'python2-qt' 'sqlite3')
10 conflicts=("amphetype")
11 source=(amphetype.desktop amphetype.patch)
12 md5sums=('fa29364a99caa1c68332dc8f65e6df8d'
13 'd54433a7a254e1284c93485d48fbbac5')
15 _svntrunk="http://amphetype.googlecode.com/svn/trunk"
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 mkdir -p $pkgdir/{usr/share/applications,opt/amphetype,usr/bin}
33 patch -fp0 < $srcdir/amphetype.patch
36 cp -r * $pkgdir/opt/amphetype
37 rm -rf `find $pkgdir -type d -name .svn`
38 cp $srcdir/amphetype.desktop $pkgdir/usr/share/applications
39 ln -s /opt/amphetype/Amphetype.py $pkgdir/usr/bin/amphetype