commit
94888b831c
2 changed files with 33 additions and 0 deletions
7
srcpkgs/minecraft/files/minecraft
Executable file
7
srcpkgs/minecraft/files/minecraft
Executable 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
|
26
srcpkgs/minecraft/template
Normal file
26
srcpkgs/minecraft/template
Normal file
|
@ -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 <pancake@nopcode.org>"
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue