forked from ports/contrib
minecraft-launcher: dropped unmaintained port
This commit is contained in:
parent
192146acb1
commit
f0c53adbcb
@ -1,11 +0,0 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/minecraft-launcher
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/minecraft-launcher.desktop
|
||||
drwxr-xr-x root/root usr/share/icons/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/symbolic/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/symbolic/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/symbolic/apps/minecraft-launcher.svg
|
@ -1,7 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39YnEdL64IINNDN4WiPgy5mCXflTGI91TeHAf5FTmwU4eUbL2TJcEbq2MOg3FCii04SYkjtMjQyQ+fjaRydjyAM=
|
||||
SHA256 (Pkgfile) = 03f236a66f535df174ff07220c857796b22b3324d6f3587da080773d4f6c8878
|
||||
SHA256 (.footprint) = e39866f43e58c20ff10981e975bdd901bf15b6d85a14b0c24b8ef07eedf15baa
|
||||
SHA256 (minecraft-launcher_1.0.1221.tar.gz) = cd9f0b44fc9cec42829cb2e71145ee599f3d34c7715b55963514d0a8d36214ab
|
||||
SHA256 (minecraft-launcher.svg) = 35c2bcaeb09fa4b8864e9422fd66bf60847706f8b4400ec4a66ba6436b101f71
|
||||
SHA256 (minecraft-launcher.desktop) = 677e2442a1ae83cc58d8d403666e508129e97dbed37fdfafdceac6101dc0dee7
|
@ -1,17 +0,0 @@
|
||||
# Description: Official Minecraft Launcher.
|
||||
# URL: https://www.minecraft.net/
|
||||
# Maintainer: unmaintained
|
||||
# Depends on: gtk3 openjdk17-jdk xorg-xrandr libsecret gnome-keyring
|
||||
|
||||
name=minecraft-launcher
|
||||
version=1.0.1221
|
||||
release=1
|
||||
source=(https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_$version.tar.gz
|
||||
https://launcher.mojang.com/download/minecraft-launcher.svg
|
||||
minecraft-launcher.desktop)
|
||||
|
||||
build() {
|
||||
install -Dm644 -t $PKG/usr/share/icons/hicolor/symbolic/apps $SRC/minecraft-launcher.svg
|
||||
install -Dm644 -t $PKG/usr/share/applications $SRC/minecraft-launcher.desktop
|
||||
install -Dm755 -t $PKG/usr/bin $SRC/minecraft-launcher/minecraft-launcher
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
PACKAGES NOTES
|
||||
|
||||
This is the full version of the game, you need a valid account to play it.
|
||||
To create an account, connect to http://www.minecraft.net/ and buy the full
|
||||
game from the store. You should then be able to log in and play.
|
||||
|
||||
The game will auto update and store the updated binary and game configuration
|
||||
in ~/.minecraft
|
||||
|
||||
For Java 9 users, please check the following link: http://bit.ly/2BAzKUP for
|
||||
details about how to run the game properly.
|
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# We need to force Java 8 here since both Java 7 and 9 currently causes the game to crash
|
||||
export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:/usr/lib/jvm/java-8-jre/jre/bin/:$PATH
|
||||
|
||||
# Since launching the minecraft launch from the home directory bypass the update mechanism, I'm adding this
|
||||
# small piece of code that will do a checksum of the versions.json file provided by mojang, if a new version
|
||||
# of the game is out, I force a download of the launcher just to keep everyone up to date
|
||||
|
||||
# those 2 can be overrided if you want
|
||||
MC_VERSION_URL=${MC_VERSION_URL:-"https://launchermeta.mojang.com/mc/game/version_manifest.json"}
|
||||
MC_SUM_FILE=${MC_SUM_FILE:-"${HOME}/.minecraft/versions.sum"}
|
||||
|
||||
# compute sums
|
||||
MC_VERSION_SUM=$( curl -s "${MC_VERSION_URL}" | sha256sum | cut -f 1 -d " " )
|
||||
MC_CURRENT_SUM=$( cat "$MC_SUM_FILE" 2>/dev/null )
|
||||
|
||||
if [ "$MC_VERSION_SUM" != "$MC_CURRENT_SUM" ]; then
|
||||
export MC_FORCE_UPDATE=1
|
||||
echo "$MC_VERSION_SUM" > "$MC_SUM_FILE"
|
||||
fi
|
||||
|
||||
if [ -e "${HOME}/.minecraft/launcher.jar" ] && [ -z "$MC_FORCE_UPDATE" ]; then
|
||||
exec java -jar "${HOME}/.minecraft/launcher.jar" $@
|
||||
else
|
||||
exec java -jar /usr/share/minecraft/Minecraft.jar $@
|
||||
fi
|
||||
|
||||
unset MC_FORCE_UPDATE
|
||||
|
@ -1,10 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=Minecraft Launcher
|
||||
Comment=Official Minecraft Launcher
|
||||
Exec=/opt/minecraft-launcher/minecraft-launcher
|
||||
Path=/opt/minecraft-launcher/
|
||||
Icon=minecraft-launcher
|
||||
Terminal=false
|
||||
Categories=Game;Application;
|
Loading…
x
Reference in New Issue
Block a user