New package: cavestory-1.01

This commit is contained in:
Diogo Leal 2015-09-17 23:25:29 -03:00
parent 1d113a2eff
commit 71966fa3e6
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
env LD_LIBRARY_PATH=/usr/share/cavestory /usr/share/cavestory/doukutsu.bin "$@"

View File

@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Cavestory
GenericName=Doukutsu Monogatari
Comment=A Japanese freeware PC side-scrolling platformer game
Exec=/usr/bin/cavestory
Icon=cavestory.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Game;

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 B

View File

@ -0,0 +1,26 @@
# Template file for 'cavestory'
pkgname=cavestory
version=1.01
revision=1
wrksrc=linuxDoukutsu-${version}
only_for_archs="i686 x86_64"
short_desc="A Japanese side-scrolling platformer game"
repository=nonfree
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Proprietary"
homepage="http://www.cavestory.org/"
distfiles="http://www.cavestory.org/downloads/linuxdoukutsu-${version}.tar.bz2"
checksum=76466fc1b1901ce25e301a4ec8450aced806c9d499d66707d6f7b38efebc24c1
do_install(){
vmkdir usr/share/cavestory
vcopy Config.dat usr/share/cavestory
vcopy data usr/share/cavestory
vdoc doc/readme.txt
vdoc doc/configfileformat.txt
vcopy doukutsu.bin usr/share/cavestory
vcopy libSDL-1.2.so.0 usr/share/cavestory
vbin ${FILESDIR}/cavestory
vinstall ${FILESDIR}/cavestory.desktop 644 usr/share/applications/
vinstall ${FILESDIR}/cavestory.png 644 usr/share/pixmaps/
}