Add minecraft package

This commit is contained in:
pancake 2013-01-04 15:09:20 +01:00
parent 9946bd401c
commit 9ff865450e
2 changed files with 32 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,25 @@
# Template build file for 'pkg-config'
pkgname=minecraft
version=0.1
revision=1
short_desc="Launcher for the famous Minecraft game"
maintainer="pancake <pancake@nopcode.org>"
noarch=yes
nofetch=yes
noextract=yes
homepage="http://www.minecraft.net/"
license="Propietary"
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
}