21 lines
846 B
Plaintext
21 lines
846 B
Plaintext
![]() |
# Description: An open-world game whose gameplay revolves around breaking and placing blocks.
|
||
|
# URL: http://www.minecraft.net/
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
# Depends on: openjdk8
|
||
|
|
||
|
name=minecraft
|
||
|
# curl -sI http://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar | awk '/^Last-Modified:/ { print $3 " " $4 " " $5}' | xargs -0 date +"%Y%m%d" -d
|
||
|
version=20130712
|
||
|
release=1
|
||
|
source=(http://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
|
||
|
minecraft minecraft.desktop minecraft.png)
|
||
|
|
||
|
build() {
|
||
|
install -D -m 0755 minecraft $PKG/usr/bin/minecraft
|
||
|
install -D -m 0644 Minecraft.jar $PKG/usr/share/minecraft/Minecraft.jar
|
||
|
|
||
|
# Desktop launcher with icon
|
||
|
install -D -m 0644 minecraft.desktop $PKG/usr/share/applications/minecraft.desktop
|
||
|
install -D -m 0644 minecraft.png $PKG/usr/share/pixmaps/minecraft.png
|
||
|
}
|