diff options
author | ultraviolet | 2015-07-03 21:55:46 -0600 |
---|---|---|
committer | ultraviolet | 2015-07-03 21:55:46 -0600 |
commit | ad7d116c9b4b5eaea48c16402d5fbaa1cd4dc69a (patch) | |
tree | a6ce0a8edb5f71bbfd9b97218438845571f5dc97 | |
download | aur-ad7d116c9b4b5eaea48c16402d5fbaa1cd4dc69a.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | minecraft-launcher | 6 | ||||
-rw-r--r-- | minecraft-launcher.install | 10 | ||||
-rw-r--r-- | minecraft.desktop | 9 | ||||
-rw-r--r-- | minecraft.png | bin | 0 -> 1767 bytes |
6 files changed, 80 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dba8f9bb5fc0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = minecraft-launcher + pkgdesc = Launcher for Minecraft, a game about building with blocks in an infinite world. + pkgver = latest + pkgrel = 4 + url = http://www.minecraft.net/ + install = minecraft-launcher.install + arch = any + license = custom + depends = java-runtime + depends = xorg-server-utils + depends = openal + conflicts = minecraft + source = minecraft-launcher + source = https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar + source = minecraft.desktop + source = minecraft.png + source = minecraft-launcher.install + md5sums = 90cbd7a01441784bd0cdcb7c99a41265 + md5sums = 85273e24404cc6865805f951487b8a1e + md5sums = d43c7f36641f561d6506e06ba4782bd3 + md5sums = b2c25797bf513a5ee215dd90b4b828e3 + md5sums = a9cdf3f04808232fb6e9bb5c6d094815 + +pkgname = minecraft-launcher + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d44879337fd8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: ultraviolet <ultravioletnanokitty@gmail.com> + +pkgname=minecraft-launcher +pkgver=latest +pkgrel=4 +pkgdesc="Launcher for Minecraft, a game about building with blocks in an infinite world." +arch=(any) +license=('custom') +url="http://www.minecraft.net/" +depends=('java-runtime' 'xorg-server-utils' 'openal') +conflicts=('minecraft') +source=(minecraft-launcher https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar + minecraft.desktop minecraft.png minecraft-launcher.install) +md5sums=('90cbd7a01441784bd0cdcb7c99a41265' + '85273e24404cc6865805f951487b8a1e' + 'd43c7f36641f561d6506e06ba4782bd3' + 'b2c25797bf513a5ee215dd90b4b828e3' + 'a9cdf3f04808232fb6e9bb5c6d094815') +install='minecraft-launcher.install' + +package() { + cd "$srcdir" || return 1 + + install -D -m755 "${srcdir}/minecraft-launcher" "${pkgdir}/usr/bin/minecraft-launcher" + install -D -m644 "${srcdir}/Minecraft.jar" "${pkgdir}/usr/share/minecraft/minecraft.jar" + + # Desktop launcher with icon + install -D -m644 "${srcdir}/minecraft.desktop" "${pkgdir}/usr/share/applications/minecraft.desktop" + install -D -m644 "${srcdir}/minecraft.png" "${pkgdir}/usr/share/pixmaps/minecraft.png" +} diff --git a/minecraft-launcher b/minecraft-launcher new file mode 100644 index 000000000000..e98d2cad1e29 --- /dev/null +++ b/minecraft-launcher @@ -0,0 +1,6 @@ +#!/bin/sh + +# fix for users of special IM modules +unset XMODIFIERS GTK_IM_MODULE QT_IM_MODULE + +LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/java/jre/lib/i386/:/opt/java/jre/lib/amd64/" exec java -Xmx1024M -Xms512M -jar /usr/share/minecraft/minecraft.jar diff --git a/minecraft-launcher.install b/minecraft-launcher.install new file mode 100644 index 000000000000..02462103265e --- /dev/null +++ b/minecraft-launcher.install @@ -0,0 +1,10 @@ +post_install() { + echo ">>> PACKAGE NOTES" + echo ">>> ::::::::::::::" + echo ">>> This is the full version of the game, you need a valid account to play it." + echo ">>> To create an account, connect to http://www.minecraft.net/ and buy the full" + echo ">>> game. You should then be able to log in and play." + echo ">>> ::::::::::::::" + echo ">>> The game will auto update and store the updated binary and game configuration" + echo ">>> in ~/.minecraft" +} diff --git a/minecraft.desktop b/minecraft.desktop new file mode 100644 index 000000000000..72f57010ec0b --- /dev/null +++ b/minecraft.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Minecraft +GenericName=Minecraft +Comment=A block-building game in an infinite world. +Exec=minecraft-launcher +Icon=/usr/share/pixmaps/minecraft.png +Terminal=false +Type=Application +Categories=Game; diff --git a/minecraft.png b/minecraft.png Binary files differnew file mode 100644 index 000000000000..f6ad2f285f53 --- /dev/null +++ b/minecraft.png |