1 # Maintainer: Marek Otahal <markotahal gmail>
6 pkgdesc="Master Mind touch typing tutor; all ten fingers, intelligent learning, about 5 times faster than any other way; layouts Latin, Dvorak, querty, ..."
8 url="http://www.turnquist.org/"
9 license=(custom:freeware)
11 install=mmtyping.install
12 source=('http://www.turnquist.org/temporary/mm208.exe'
13 'mmtyping.desktop' 'mmtyping')
14 sha1sums=('aca19b0348e9b5270bca573fe99a4ef4dcf05ade'
15 '384c94b73fe6697badc45f9561c033575a60ad47'
16 'd895abe2e905b8aa904cb3c1fb7268575d175a6b')
19 msg "installing $pkgname ..."
20 msg "you MUST install to the /tmp directory for this installer to work"
21 msg "package will later be installed to normal location, this is just a workaround"
22 msg "don't worry about any error, also un-installation select ok"
23 msg "read this and press any key to continue the installation"
27 cp -a /tmp/{Binary,Docs} $srcdir
28 wine /tmp/Uninstall.exe
33 install -m755 -d ${pkgdir}/usr/bin
34 install -m755 -d $pkgdir/usr/share/doc/$pkgname
35 install -m755 -d $pkgdir/usr/share/licenses/$pkgname
36 install -m755 -d $pkgdir/usr/share/$pkgname
37 install -m755 -d $pkgdir/usr/share/applications
38 install -m755 -d $pkgdir/usr/share/icons
40 install -m755 $pkgname ${pkgdir}/usr/bin
41 mv $srcdir/{Binary,Docs} $pkgdir/usr/share/$pkgname/
42 ln -s /usr/share/$pkgname/Docs/License.rtf $pkgdir/usr/share/licenses/$pkgname/License.rtf
43 ln -s /usr/share/$pkgname/Docs $pkgdir/usr/share/doc/$pkgname
44 ln -s /usr/share/$pkgname/Binary/Keyboard.ico $pkgdir/usr/share/icons/mmtyping.ico
45 install -m644 $srcdir/mmtyping.desktop $pkgdir/usr/share/applications/
49 # vim:set ts=2 sw=2 et: