5 pkgdesc="The Hot Potatoes suite includes six applications, enabling you to create interactive multiple-choice, short-answer, jumbled-sentence,
6 crossword, matching/ordering and gap-fill exercises for the World Wide Web. Hot Potatoes is freeware, and you may use it for any purpose or
7 project you like. It is not open-source. "
9 url="http://hotpot.uvic.ca/index.php"
11 depends=(java-runtime)
12 source=("http://hotpot.uvic.ca/javahotpot61.zip"
20 mkdir -p $pkgdir/usr/share/applications
21 mkdir -p $pkgdir/usr/share/pixmaps
22 cp -r javahotpot $pkgdir/opt/$pkgname
23 cp javahotpot/JavaHotPotatoes6.app/Contents/Resources/Java/hotpot6.jar $pkgdir/opt/$pkgname/
24 mkdir -p $pkgdir/usr/bin
25 echo "cd /opt/$pkgname" > $pkgdir/usr/bin/$pkgname
26 echo "java -jar hotpot6.jar" >> $pkgdir/usr/bin/$pkgname
27 chmod +x $pkgdir/usr/bin/$pkgname
28 rm -r $pkgdir/opt/$pkgname/JavaHotPotatoes6.app
29 cp 256.png $pkgdir/usr/share/pixmaps/$pkgname.png
30 cp $pkgname.desktop $pkgdir/usr/share/applications
33 md5sums=('8283f6a693bb144858e055e254836448'
34 'c1929d08080a72e0b814d6a763bac959'
35 '9265aee30c90f0f5502d2c0b8cd58904')