You are not logged in.
Someone ported Studio Pixel's Cave story(Doukutsu monogatari) to linux. I made a PKGBUILD..
http://en.wikipedia.org/wiki/Cave_Story
http://www.cavestory.org/
Config app is from original windows version, that's why it depends on wine.
pkgname=linuxdoukutsu
pkgver=1.01
pkgrel=1
pkgdesc="Cave Story. Game by Studio Pixel."
arch=('i686')
url=()
license=('Freeware')
depends=('wine' 'sdl')
source=(http://www.scibotic.com/uploads/linuxdoukutsu-1.01.tar.bz2)
md5sums=('ec08da7c45419bc7740b8149ec7340cf')
build() {
echo -e "#!/bin/sh
cd /opt/"$pkgname"
./doukutsu.bin" > ""$startdir""/doukutsu
echo -e "#!/bin/sh
cd /opt/"$pkgname"
wine DoConfig.exe" > "$startdir"/doukutsu-config
mkdir -p "$pkgdir"/opt/"$pkgname"/
cp -r "$srcdir"/linuxDoukutsu-"$pkgver"/doc "$pkgdir"/opt/"$pkgname"/
cp -r "$srcdir"/linuxDoukutsu-"$pkgver"/data "$pkgdir"/opt/"$pkgname"/
touch "$startdir"/Profile.dat
install -m666 "$srcdir"/linuxDoukutsu-"$pkgver"/Config.dat "$pkgdir"/opt/"$pkgname"/Config.dat
install "$srcdir"/linuxDoukutsu-"$pkgver"/DoConfig.exe "$pkgdir"/opt/"$pkgname"/DoConfig.exe
install -m755 "$srcdir"/linuxDoukutsu-"$pkgver"/doukutsu.bin "$pkgdir"/opt/"$pkgname"/doukutsu.bin
install -m666 "$startdir"/Profile.dat "$pkgdir"/opt/"$pkgname"/Profile.dat
install -D -m755 "$startdir"/doukutsu "$pkgdir"/usr/bin/doukutsu
install -m755 "$startdir"/doukutsu-config "$pkgdir"/usr/bin/doukutsu-config
}
//edit: updated PKGBUILD little..
Last edited by ak-89 (2008-10-11 11:15:38)
Offline
Quote all the $startdir (i.e, "$stardir") and do not use "$stardir"/src or "$stardir"/pkg anymore you should use "$srcdir" and "$pkgdir".
And since there is a windows program inside you may like the pieces of advice of the wiki about packing them.
BUT... Thanks for the gem!
Offline
Oh, I've never really understood what those CHD's really is.
Compressed Hard Disk is correct. Some newer game machines include an hard drive for storing large quantity of data. MAME emulates them via chd files. That's it.
Offline
Quote all the $startdir (i.e, "$stardir") and do not use "$stardir"/src or "$stardir"/pkg anymore you should use "$srcdir" and "$pkgdir".
And since there is a windows program inside you may like the pieces of advice of the wiki about packing them.
BUT... Thanks for the gem!
I edited it a little. Noticed wrong license and edited those $srcdir:s etc.. I just edited that from some other PKGBUILD and forgot the license. It was initially intended only for own use, so that's why i did'nt even read any guidelines.
Offline