1 # Maintainer: Gerardo Marset <gammer1994@gmail.com>
3 pkgname=cave-story-plus
6 pkgdesc="The extended version of Cave Story, a side-scrolling platformer game"
8 url="http://www.nicalis.com/"
10 depends=('sdl' 'mesa')
11 source=(cavestoryplus-linux-1324519044.tar.gz
15 md5sums=('af4ddd7457af307bf4567a955173e633'
16 '5ab10e98223a35700be65c206daa0103'
17 'adcc3ca581a90018074747d1dc00e2b4'
18 '426350078c2d76dbc42112f10cf59d35')
24 # Create the game directory.
25 mkdir -p $pkgdir/opt/$pkgname
27 # Copy the data directory.
28 cp -r data $pkgdir/opt/$pkgname
30 # Are these needed in the new version?
31 # Work around a bug in the game.
32 #ln -s {L,$pkgdir/opt/$pkgname/data/base/Stage/l}ounge.pxm
33 #ln -s {L,$pkgdir/opt/$pkgname/data/base/Stage/l}ounge.pxe
34 #ln -s {L,$pkgdir/opt/$pkgname/data/base/Stage/l}ounge.tsc
36 # Work around some other seemingly not-so-important "not found" errors.
37 #ln -s {b,$pkgdir/opt/$pkgname/data/base/B}k0.bmp
38 #ln -s {b,$pkgdir/opt/$pkgname/data/base/ogph/B}k0.bmp
41 if [ "$CARCH" == "i686" ] ; then
42 install -Dm755 CaveStory+ $pkgdir/opt/$pkgname
44 install -Dm755 CaveStory+_64 $pkgdir/opt/$pkgname/CaveStory+
47 # Install the startup script.
48 mkdir -p $pkgdir/usr/bin
49 install -m755 $srcdir/$pkgname $pkgdir/usr/bin
51 # Install icons and .desktop files.
52 mkdir -p $pkgdir/usr/share/{icons,applications}
53 install -m644 $startdir/$pkgname.png $pkgdir/usr/share/icons
54 install -m644 $startdir/$pkgname.desktop $pkgdir/usr/share/applications
57 # vim: set sts=2 sw=2 et: