Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] minecraft: update to 2.1
@ 2019-09-05  9:54 voidlinux-github
  2019-09-05 10:42 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-05  9:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is a new pull request by MattTreadwell against master on the void-packages repository

https://github.com/MattTreadwell/void-packages master
https://github.com/void-linux/void-packages/pull/14221

minecraft: update to 2.1


A patch file from https://github.com/void-linux/void-packages/pull/14221.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-14221.patch --]
[-- Type: text/x-diff, Size: 1501 bytes --]

From a62f47aae5d55b140d5a4e591eb05b52a4ecf0b5 Mon Sep 17 00:00:00 2001
From: Matthew Treadwell <Treadwell@inventati.org>
Date: Thu, 5 Sep 2019 02:53:26 -0700
Subject: [PATCH] minecraft: update to 2.1

---
 srcpkgs/minecraft/files/minecraft | 8 +++++---
 srcpkgs/minecraft/template        | 4 ++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/minecraft/files/minecraft b/srcpkgs/minecraft/files/minecraft
index 1ca1b42cb4b..c182ea5849c 100644
--- a/srcpkgs/minecraft/files/minecraft
+++ b/srcpkgs/minecraft/files/minecraft
@@ -1,7 +1,9 @@
 #!/bin/sh
 HD=~/.minecraft
-HDJ=$HD/minecraft16.jar
+HDJ=$HD/minecraft-launcher
 [ ! -d ${HD} ] && mkdir $HD
-[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
+if [ ! -f ${HDJ} ]; then
+	wget -c https://launcher.mojang.com/download/Minecraft.tar.gz -O - | tar -xz -C $HD --strip-components=1
+fi
 wmname LG3D
-java -jar $HDJ
+$HDJ
diff --git a/srcpkgs/minecraft/template b/srcpkgs/minecraft/template
index 2ffc32c2b28..4bdf6637e95 100644
--- a/srcpkgs/minecraft/template
+++ b/srcpkgs/minecraft/template
@@ -1,11 +1,11 @@
 # Template file for 'minecraft'
 pkgname=minecraft
-version=0.5
+version=2.1
 revision=1
 archs=noarch
 depends="wmname wget"
 short_desc="Launcher for the famous Minecraft game"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Matthew Treadwell <hewtreadwell@gmail.com>"
 homepage="http://www.minecraft.net/"
 license="Propietary"
 repository=nonfree

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-05-14  1:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05  9:54 [PR PATCH] minecraft: update to 2.1 voidlinux-github
2019-09-05 10:42 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-05 10:42 ` voidlinux-github
2019-09-05 11:03 ` voidlinux-github
2019-09-05 11:03 ` voidlinux-github
2019-09-05 22:42 ` voidlinux-github
2019-09-05 22:42 ` voidlinux-github
2019-09-05 22:53 ` voidlinux-github
2019-09-05 22:53 ` voidlinux-github
2019-09-08  9:29 ` voidlinux-github
2019-09-08  9:29 ` voidlinux-github
2020-05-14  1:07 ` [PR PATCH] [Closed]: " MattTreadwell
2020-05-14  1:07 ` [PR PATCH] [Updated] " MattTreadwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).