minecraft: misc improvements; mention required java impl.

This commit is contained in:
Juan RP 2013-01-04 15:37:44 +01:00
parent 94888b831c
commit aaac3a8d2c
3 changed files with 23 additions and 8 deletions
srcpkgs/minecraft

14
srcpkgs/minecraft/INSTALL Normal file
View file

@ -0,0 +1,14 @@
case "${ACTION}" in
post)
cat <<_EOF
==========================================================================
To start the Minecraft launcher a java implementation is required,
right now you can install the Oracle propietary "jre" package available
in the nonfree repository; alternatively you can also use your own
and make sure that "java" executable is in your PATH.
==========================================================================
_EOF
;;
esac

0
srcpkgs/minecraft/files/minecraft Executable file → Normal file
View file

View file

@ -1,16 +1,11 @@
# Template build file for 'pkg-config' # Template build file for 'minecraft'
pkgname=minecraft pkgname=minecraft
version=0.1 version=0.2
revision=1 revision=1
short_desc="Launcher for the famous Minecraft game" short_desc="Launcher for the famous Minecraft game"
maintainer="pancake <pancake@nopcode.org>" maintainer="pancake <pancake@nopcode.org>"
noarch=yes
nofetch=yes
noextract=yes
homepage="http://www.minecraft.net/" homepage="http://www.minecraft.net/"
license="Propietary" license="Propietary"
nonfree=yes
fulldepends="wmname wget"
long_desc=" long_desc="
Minecraft is a game about breaking and placing blocks. At first, people Minecraft is a game about breaking and placing blocks. At first, people
built structures to protect against nocturnal monsters, but as the game built structures to protect against nocturnal monsters, but as the game
@ -21,6 +16,12 @@ over a blocky ocean. I's pretty. Brave players battle terrible things
in The Nether, which is more scary than pretty. You can also visit a in The Nether, which is more scary than pretty. You can also visit a
land of mushrooms if it sounds more like your cup of tea." land of mushrooms if it sounds more like your cup of tea."
noarch=yes
nofetch=yes
noextract=yes
nonfree=yes
depends="wmname wget"
do_install() { do_install() {
vinstall ${FILESDIR}/minecraft 755 usr/bin minecraft vinstall ${FILESDIR}/minecraft 755 usr/bin
} }