diff --git a/srcpkgs/minecraft/files/minecraft b/srcpkgs/minecraft/files/minecraft new file mode 100755 index 0000000000..a0a3fdf80c --- /dev/null +++ b/srcpkgs/minecraft/files/minecraft @@ -0,0 +1,7 @@ +#!/bin/sh +HD=~/.minecraft +HDJ=$HD/minecraft.jar +[ ! -d ${HD} ] && mkdir $HD +[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar +wmname LG3D +java -jar $HDJ diff --git a/srcpkgs/minecraft/template b/srcpkgs/minecraft/template new file mode 100644 index 0000000000..6e2adac9bb --- /dev/null +++ b/srcpkgs/minecraft/template @@ -0,0 +1,26 @@ +# Template build file for 'pkg-config' +pkgname=minecraft +version=0.1 +revision=1 +short_desc="Launcher for the famous Minecraft game" +maintainer="pancake " +noarch=yes +nofetch=yes +noextract=yes +homepage="http://www.minecraft.net/" +license="Propietary" +nonfree=yes +fulldepends="wmname wget" +long_desc=" +Minecraft is a game about breaking and placing blocks. At first, people +built structures to protect against nocturnal monsters, but as the game +grew players worked together to create wonderful, imaginative things. + +It can also be about adventuring with friends or watching the sun rise +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 +land of mushrooms if it sounds more like your cup of tea." + +do_install() { + vinstall ${FILESDIR}/minecraft 755 usr/bin minecraft +}