From 71966fa3e62c997accbc5f77aed925a05bc32d1e Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Thu, 17 Sep 2015 23:25:29 -0300 Subject: [PATCH] New package: cavestory-1.01 --- srcpkgs/cavestory/files/cavestory | 2 ++ srcpkgs/cavestory/files/cavestory.desktop | 12 ++++++++++ srcpkgs/cavestory/files/cavestory.png | Bin 0 -> 640 bytes srcpkgs/cavestory/template | 26 ++++++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 100755 srcpkgs/cavestory/files/cavestory create mode 100644 srcpkgs/cavestory/files/cavestory.desktop create mode 100644 srcpkgs/cavestory/files/cavestory.png create mode 100644 srcpkgs/cavestory/template diff --git a/srcpkgs/cavestory/files/cavestory b/srcpkgs/cavestory/files/cavestory new file mode 100755 index 00000000000..61ea9c77514 --- /dev/null +++ b/srcpkgs/cavestory/files/cavestory @@ -0,0 +1,2 @@ +#!/bin/sh +env LD_LIBRARY_PATH=/usr/share/cavestory /usr/share/cavestory/doukutsu.bin "$@" diff --git a/srcpkgs/cavestory/files/cavestory.desktop b/srcpkgs/cavestory/files/cavestory.desktop new file mode 100644 index 00000000000..5cbeb7f96da --- /dev/null +++ b/srcpkgs/cavestory/files/cavestory.desktop @@ -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; diff --git a/srcpkgs/cavestory/files/cavestory.png b/srcpkgs/cavestory/files/cavestory.png new file mode 100644 index 0000000000000000000000000000000000000000..349a67d8aa3e671c40f8f4f9dae54202ecf44c20 GIT binary patch literal 640 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4mJh`hE~)y}i+k*-(Q0 z14|8qtfs%_v~*UBX( z`07P3-yu%+#(URy$Gw|%=jiMI(S7p_pZu=OEb@GkbF!J)A=qc1`?hm!`D;=w8GINv zbX$fmitj&v?(4$eFJt(}dd=Nz?5+W|#+}hRGp8?H%HF{x_+6R5;RHih ze0Qq2(~`qUS<{a)3W&Ox9AQ6|U%0s{94&)gShVBmC}y@KHa&jFVdQ&MBb@0LW" +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/ +}