1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
5 pkgdesc="An old Kenta Cho game. Throw colorful balls to the side with your "wok" and don't let them touch the ground!"
7 url="http://www.asahi-net.or.jp/~cs8k-cyu/linux/wok.html"
9 depends=('libvorbis' 'sdl_mixer' 'sdl_image')
10 source=(http://www.asahi-net.or.jp/~cs8k-cyu/linux/wok_src1_0.tar.gz
17 #note: Much of the effort to get this working is due to
18 #the work of Miriam Ruiz. Much thanks!
21 cp ../wok_1.0-1.diff .
22 patch -Ni ./wok_1.0-1.diff
23 patch -Ni ./01_makefile.patch
24 patch -Ni ./02_images_dir.patch
25 patch -Ni ./03_sounds_dir.patch
26 patch -Ni ./04_home_dir.patch
28 sed -i s,"-lpthread","-lpthread -lvorbisfile",g ./Makefile
32 mkdir -p $startdir/pkg/usr/share
33 cp -r $startdir/src/wok $startdir/pkg/usr/share/
35 install -D -m644 $startdir/src/wok/wok.xpm $startdir/pkg/usr/share/pixmaps/wok.xpm
36 install -D -m644 $startdir/src/wok-desktop $startdir/pkg/usr/share/applications/wok.desktop
37 install -D -m755 $startdir/src/wok-script $startdir/pkg/usr/bin/wok
40 install -D -m644 $startdir/src/wok/wok.6.gz $startdir/pkg/usr/share/man6/wok.6.gz
42 install -D -m644 $startdir/src/wok/copyright $startdir/pkg/usr/share/licenses/wok/copyright
44 md5sums=('082ad53d3a1a45019ba66d8fe1e724aa'
45 'cec037b625a4a4ebddbfd7ae6e6c95a1'
46 '4d001438a8d6fec5971441d074f901db'
47 'b6733ed9c1faf78723c5e38bb604e3d8')