Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] minecraft: update to 2.1.9618.
@ 2019-12-30 20:07 voidlinux-github
  2019-12-30 20:08 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: voidlinux-github @ 2019-12-30 20:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/SevereOverfl0w/void-packages minecraftupdate
https://github.com/void-linux/void-packages/pull/17896

minecraft: update to 2.1.9618.
None

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

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

From 054ede91d1e9c837b464c9cf970e9eb4536c60db Mon Sep 17 00:00:00 2001
From: Dominic Monroe <iam@dominic.io>
Date: Mon, 30 Dec 2019 20:06:10 +0000
Subject: [PATCH] minecraft: update to 2.1.9618.

---
 srcpkgs/minecraft/INSTALL.msg     |  5 -----
 srcpkgs/minecraft/files/minecraft |  7 -------
 srcpkgs/minecraft/template        | 12 +++++++++---
 3 files changed, 9 insertions(+), 15 deletions(-)
 delete mode 100644 srcpkgs/minecraft/INSTALL.msg
 delete mode 100644 srcpkgs/minecraft/files/minecraft

diff --git a/srcpkgs/minecraft/INSTALL.msg b/srcpkgs/minecraft/INSTALL.msg
deleted file mode 100644
index 556d58da0ad..00000000000
--- a/srcpkgs/minecraft/INSTALL.msg
+++ /dev/null
@@ -1,5 +0,0 @@
-To start the Minecraft launcher a java implementation is required,
-right now you can install the Open Java Runtime (openjdk-jre) or
-the Oracle propietary "oracle-jre" package available
-in the nonfree repository; alternatively you can also use your own
-and make sure that "java" executable is in your PATH.
diff --git a/srcpkgs/minecraft/files/minecraft b/srcpkgs/minecraft/files/minecraft
deleted file mode 100644
index 1ca1b42cb4b..00000000000
--- a/srcpkgs/minecraft/files/minecraft
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-HD=~/.minecraft
-HDJ=$HD/minecraft16.jar
-[ ! -d ${HD} ] && mkdir $HD
-[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
-wmname LG3D
-java -jar $HDJ
diff --git a/srcpkgs/minecraft/template b/srcpkgs/minecraft/template
index 2ffc32c2b28..5c8a8c234ef 100644
--- a/srcpkgs/minecraft/template
+++ b/srcpkgs/minecraft/template
@@ -1,15 +1,21 @@
 # Template file for 'minecraft'
 pkgname=minecraft
-version=0.5
+wrksrc="minecraft-launcher"
+version=2.1.9618
 revision=1
 archs=noarch
-depends="wmname wget"
+depends="virtual?java-environment GConf"
 short_desc="Launcher for the famous Minecraft game"
 maintainer="Orphaned <orphan@voidlinux.org>"
 homepage="http://www.minecraft.net/"
 license="Propietary"
 repository=nonfree
+distfiles="https://launcher.mojang.com/download/Minecraft.tar.gz"
+checksum=7e6f057a932bfef49adbaf5f715ba5d367a225be6c3cc020dcded814492067f2
 
 do_install() {
-	vbin ${FILESDIR}/minecraft
+	vmkdir opt/minecraft
+	vcopy * /opt/minecraft/
+	vmkdir usr/bin
+	ln -sf /opt/minecraft/minecraft-launcher ${DESTDIR}/usr/bin/
 }

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

* Re: [PR PATCH] [Updated] minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
@ 2019-12-30 20:08 ` voidlinux-github
  2020-05-20 20:21 ` SevereOverfl0w
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-12-30 20:08 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SevereOverfl0w against master on the void-packages repository

https://github.com/SevereOverfl0w/void-packages minecraftupdate
https://github.com/void-linux/void-packages/pull/17896

minecraft: update to 2.1.9618.
None

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

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

From da0fca2c3f98eba4d83f14efa642a7cc079b73c8 Mon Sep 17 00:00:00 2001
From: Dominic Monroe <iam@dominic.io>
Date: Mon, 30 Dec 2019 20:06:10 +0000
Subject: [PATCH] minecraft: update to 2.1.9618.

---
 srcpkgs/minecraft/INSTALL.msg     |  5 -----
 srcpkgs/minecraft/files/minecraft |  7 -------
 srcpkgs/minecraft/template        | 14 ++++++++++----
 3 files changed, 10 insertions(+), 16 deletions(-)
 delete mode 100644 srcpkgs/minecraft/INSTALL.msg
 delete mode 100644 srcpkgs/minecraft/files/minecraft

diff --git a/srcpkgs/minecraft/INSTALL.msg b/srcpkgs/minecraft/INSTALL.msg
deleted file mode 100644
index 556d58da0ad..00000000000
--- a/srcpkgs/minecraft/INSTALL.msg
+++ /dev/null
@@ -1,5 +0,0 @@
-To start the Minecraft launcher a java implementation is required,
-right now you can install the Open Java Runtime (openjdk-jre) or
-the Oracle propietary "oracle-jre" package available
-in the nonfree repository; alternatively you can also use your own
-and make sure that "java" executable is in your PATH.
diff --git a/srcpkgs/minecraft/files/minecraft b/srcpkgs/minecraft/files/minecraft
deleted file mode 100644
index 1ca1b42cb4b..00000000000
--- a/srcpkgs/minecraft/files/minecraft
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-HD=~/.minecraft
-HDJ=$HD/minecraft16.jar
-[ ! -d ${HD} ] && mkdir $HD
-[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
-wmname LG3D
-java -jar $HDJ
diff --git a/srcpkgs/minecraft/template b/srcpkgs/minecraft/template
index 2ffc32c2b28..366479f715f 100644
--- a/srcpkgs/minecraft/template
+++ b/srcpkgs/minecraft/template
@@ -1,15 +1,21 @@
 # Template file for 'minecraft'
 pkgname=minecraft
-version=0.5
+version=2.1.9618
 revision=1
 archs=noarch
-depends="wmname wget"
+wrksrc="minecraft-launcher"
+depends="virtual?java-environment GConf"
 short_desc="Launcher for the famous Minecraft game"
 maintainer="Orphaned <orphan@voidlinux.org>"
-homepage="http://www.minecraft.net/"
 license="Propietary"
+homepage="http://www.minecraft.net/"
+distfiles="https://launcher.mojang.com/download/Minecraft.tar.gz"
+checksum=7e6f057a932bfef49adbaf5f715ba5d367a225be6c3cc020dcded814492067f2
 repository=nonfree
 
 do_install() {
-	vbin ${FILESDIR}/minecraft
+	vmkdir opt/minecraft
+	vcopy * /opt/minecraft/
+	vmkdir usr/bin
+	ln -sf /opt/minecraft/minecraft-launcher ${DESTDIR}/usr/bin/
 }

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

* Re: [PR PATCH] [Updated] minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
  2019-12-30 20:08 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-05-20 20:21 ` SevereOverfl0w
  2020-05-20 20:36 ` SevereOverfl0w
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: SevereOverfl0w @ 2020-05-20 20:21 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SevereOverfl0w against master on the void-packages repository

https://github.com/SevereOverfl0w/void-packages minecraftupdate
https://github.com/void-linux/void-packages/pull/17896

minecraft: update to 2.1.9618.
None

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

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

From cd170ed26cffa916c70aaf2c57b7937a28d550fb Mon Sep 17 00:00:00 2001
From: Dominic Monroe <iam@dominic.io>
Date: Mon, 30 Dec 2019 20:06:10 +0000
Subject: [PATCH] minecraft: update to 2.1.14403.

---
 srcpkgs/minecraft/INSTALL.msg     |  5 -----
 srcpkgs/minecraft/files/minecraft |  7 -------
 srcpkgs/minecraft/template        | 14 ++++++++++----
 srcpkgs/minecraft/update          |  2 ++
 4 files changed, 12 insertions(+), 16 deletions(-)
 delete mode 100644 srcpkgs/minecraft/INSTALL.msg
 delete mode 100644 srcpkgs/minecraft/files/minecraft
 create mode 100644 srcpkgs/minecraft/update

diff --git a/srcpkgs/minecraft/INSTALL.msg b/srcpkgs/minecraft/INSTALL.msg
deleted file mode 100644
index 556d58da0ad..00000000000
--- a/srcpkgs/minecraft/INSTALL.msg
+++ /dev/null
@@ -1,5 +0,0 @@
-To start the Minecraft launcher a java implementation is required,
-right now you can install the Open Java Runtime (openjdk-jre) or
-the Oracle propietary "oracle-jre" package available
-in the nonfree repository; alternatively you can also use your own
-and make sure that "java" executable is in your PATH.
diff --git a/srcpkgs/minecraft/files/minecraft b/srcpkgs/minecraft/files/minecraft
deleted file mode 100644
index 1ca1b42cb4b..00000000000
--- a/srcpkgs/minecraft/files/minecraft
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-HD=~/.minecraft
-HDJ=$HD/minecraft16.jar
-[ ! -d ${HD} ] && mkdir $HD
-[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
-wmname LG3D
-java -jar $HDJ
diff --git a/srcpkgs/minecraft/template b/srcpkgs/minecraft/template
index 2ffc32c2b28..8d197dda819 100644
--- a/srcpkgs/minecraft/template
+++ b/srcpkgs/minecraft/template
@@ -1,15 +1,21 @@
 # Template file for 'minecraft'
 pkgname=minecraft
-version=0.5
+version=2.1.14403
 revision=1
 archs=noarch
-depends="wmname wget"
+wrksrc="minecraft-launcher"
+depends="virtual?java-environment GConf"
 short_desc="Launcher for the famous Minecraft game"
 maintainer="Orphaned <orphan@voidlinux.org>"
+license="Proprietary"
 homepage="http://www.minecraft.net/"
-license="Propietary"
+distfiles="https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz"
+checksum=2f888fb423133c48c987408581ff0bddfb8eb79115c9796ccc1c28167146cc20
 repository=nonfree
 
 do_install() {
-	vbin ${FILESDIR}/minecraft
+	vmkdir opt/minecraft
+	vcopy * /opt/minecraft/
+	vmkdir usr/bin
+	ln -sf /opt/minecraft/minecraft-launcher ${DESTDIR}/usr/bin/
 }
diff --git a/srcpkgs/minecraft/update b/srcpkgs/minecraft/update
new file mode 100644
index 00000000000..afb8a6a9036
--- /dev/null
+++ b/srcpkgs/minecraft/update
@@ -0,0 +1,2 @@
+site='http://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json'
+pattern='launcher-core.*?"name": "\K[\d.]+(?=")'

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

* Re: [PR PATCH] [Updated] minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
  2019-12-30 20:08 ` [PR PATCH] [Updated] " voidlinux-github
  2020-05-20 20:21 ` SevereOverfl0w
@ 2020-05-20 20:36 ` SevereOverfl0w
  2020-05-20 20:54 ` SevereOverfl0w
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: SevereOverfl0w @ 2020-05-20 20:36 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SevereOverfl0w against master on the void-packages repository

https://github.com/SevereOverfl0w/void-packages minecraftupdate
https://github.com/void-linux/void-packages/pull/17896

minecraft: update to 2.1.9618.
None

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

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

From 3adcdd4c5089b214283413d7326dcc693c631f86 Mon Sep 17 00:00:00 2001
From: Dominic Monroe <iam@dominic.io>
Date: Mon, 30 Dec 2019 20:06:10 +0000
Subject: [PATCH] minecraft: update to 2.1.14403.

---
 srcpkgs/minecraft/INSTALL.msg     |  5 -----
 srcpkgs/minecraft/files/minecraft |  7 -------
 srcpkgs/minecraft/template        | 14 ++++++++++----
 srcpkgs/minecraft/update          |  2 ++
 4 files changed, 12 insertions(+), 16 deletions(-)
 delete mode 100644 srcpkgs/minecraft/INSTALL.msg
 delete mode 100644 srcpkgs/minecraft/files/minecraft
 create mode 100644 srcpkgs/minecraft/update

diff --git a/srcpkgs/minecraft/INSTALL.msg b/srcpkgs/minecraft/INSTALL.msg
deleted file mode 100644
index 556d58da0ad..00000000000
--- a/srcpkgs/minecraft/INSTALL.msg
+++ /dev/null
@@ -1,5 +0,0 @@
-To start the Minecraft launcher a java implementation is required,
-right now you can install the Open Java Runtime (openjdk-jre) or
-the Oracle propietary "oracle-jre" package available
-in the nonfree repository; alternatively you can also use your own
-and make sure that "java" executable is in your PATH.
diff --git a/srcpkgs/minecraft/files/minecraft b/srcpkgs/minecraft/files/minecraft
deleted file mode 100644
index 1ca1b42cb4b..00000000000
--- a/srcpkgs/minecraft/files/minecraft
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-HD=~/.minecraft
-HDJ=$HD/minecraft16.jar
-[ ! -d ${HD} ] && mkdir $HD
-[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
-wmname LG3D
-java -jar $HDJ
diff --git a/srcpkgs/minecraft/template b/srcpkgs/minecraft/template
index 2ffc32c2b28..f4380b26510 100644
--- a/srcpkgs/minecraft/template
+++ b/srcpkgs/minecraft/template
@@ -1,15 +1,21 @@
 # Template file for 'minecraft'
 pkgname=minecraft
-version=0.5
+version=2.1.14403
 revision=1
 archs=noarch
-depends="wmname wget"
+wrksrc="minecraft-launcher"
+depends="virtual?java-environment GConf"
 short_desc="Launcher for the famous Minecraft game"
 maintainer="Orphaned <orphan@voidlinux.org>"
+license="custom:Minecraft End User License Agreement"
 homepage="http://www.minecraft.net/"
-license="Propietary"
+distfiles="https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz"
+checksum=2f888fb423133c48c987408581ff0bddfb8eb79115c9796ccc1c28167146cc20
 repository=nonfree
 
 do_install() {
-	vbin ${FILESDIR}/minecraft
+	vmkdir opt/minecraft
+	vcopy * /opt/minecraft/
+	vmkdir usr/bin
+	ln -sf /opt/minecraft/minecraft-launcher ${DESTDIR}/usr/bin/
 }
diff --git a/srcpkgs/minecraft/update b/srcpkgs/minecraft/update
new file mode 100644
index 00000000000..afb8a6a9036
--- /dev/null
+++ b/srcpkgs/minecraft/update
@@ -0,0 +1,2 @@
+site='http://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json'
+pattern='launcher-core.*?"name": "\K[\d.]+(?=")'

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

* Re: [PR PATCH] [Updated] minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
                   ` (2 preceding siblings ...)
  2020-05-20 20:36 ` SevereOverfl0w
@ 2020-05-20 20:54 ` SevereOverfl0w
  2020-07-14 15:55 ` SevereOverfl0w
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: SevereOverfl0w @ 2020-05-20 20:54 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SevereOverfl0w against master on the void-packages repository

https://github.com/SevereOverfl0w/void-packages minecraftupdate
https://github.com/void-linux/void-packages/pull/17896

minecraft: update to 2.1.9618.
None

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

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

From ab84d02229ec2d4bc7614002636271245f11d55b Mon Sep 17 00:00:00 2001
From: Dominic Monroe <iam@dominic.io>
Date: Mon, 30 Dec 2019 20:06:10 +0000
Subject: [PATCH] minecraft: update to 2.1.14403.

---
 srcpkgs/minecraft/INSTALL.msg     |  5 -----
 srcpkgs/minecraft/files/LICENSE   |  1 +
 srcpkgs/minecraft/files/minecraft |  7 -------
 srcpkgs/minecraft/template        | 15 +++++++++++----
 srcpkgs/minecraft/update          |  2 ++
 5 files changed, 14 insertions(+), 16 deletions(-)
 delete mode 100644 srcpkgs/minecraft/INSTALL.msg
 create mode 100644 srcpkgs/minecraft/files/LICENSE
 delete mode 100644 srcpkgs/minecraft/files/minecraft
 create mode 100644 srcpkgs/minecraft/update

diff --git a/srcpkgs/minecraft/INSTALL.msg b/srcpkgs/minecraft/INSTALL.msg
deleted file mode 100644
index 556d58da0ad..00000000000
--- a/srcpkgs/minecraft/INSTALL.msg
+++ /dev/null
@@ -1,5 +0,0 @@
-To start the Minecraft launcher a java implementation is required,
-right now you can install the Open Java Runtime (openjdk-jre) or
-the Oracle propietary "oracle-jre" package available
-in the nonfree repository; alternatively you can also use your own
-and make sure that "java" executable is in your PATH.
diff --git a/srcpkgs/minecraft/files/LICENSE b/srcpkgs/minecraft/files/LICENSE
new file mode 100644
index 00000000000..f50a3027b46
--- /dev/null
+++ b/srcpkgs/minecraft/files/LICENSE
@@ -0,0 +1 @@
+The current version of this license can be found at: https://account.mojang.com/terms
diff --git a/srcpkgs/minecraft/files/minecraft b/srcpkgs/minecraft/files/minecraft
deleted file mode 100644
index 1ca1b42cb4b..00000000000
--- a/srcpkgs/minecraft/files/minecraft
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-HD=~/.minecraft
-HDJ=$HD/minecraft16.jar
-[ ! -d ${HD} ] && mkdir $HD
-[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
-wmname LG3D
-java -jar $HDJ
diff --git a/srcpkgs/minecraft/template b/srcpkgs/minecraft/template
index 2ffc32c2b28..0d384fd62b6 100644
--- a/srcpkgs/minecraft/template
+++ b/srcpkgs/minecraft/template
@@ -1,15 +1,22 @@
 # Template file for 'minecraft'
 pkgname=minecraft
-version=0.5
+version=2.1.14403
 revision=1
 archs=noarch
-depends="wmname wget"
+wrksrc="minecraft-launcher"
+depends="virtual?java-environment GConf"
 short_desc="Launcher for the famous Minecraft game"
 maintainer="Orphaned <orphan@voidlinux.org>"
+license="custom:Minecraft End User License Agreement"
 homepage="http://www.minecraft.net/"
-license="Propietary"
+distfiles="https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz"
+checksum=2f888fb423133c48c987408581ff0bddfb8eb79115c9796ccc1c28167146cc20
 repository=nonfree
 
 do_install() {
-	vbin ${FILESDIR}/minecraft
+	vmkdir opt/minecraft
+	vcopy * /opt/minecraft/
+	vmkdir usr/bin
+	vlicense $FILESDIR/LICENSE
+	ln -sf /opt/minecraft/minecraft-launcher ${DESTDIR}/usr/bin/
 }
diff --git a/srcpkgs/minecraft/update b/srcpkgs/minecraft/update
new file mode 100644
index 00000000000..afb8a6a9036
--- /dev/null
+++ b/srcpkgs/minecraft/update
@@ -0,0 +1,2 @@
+site='http://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json'
+pattern='launcher-core.*?"name": "\K[\d.]+(?=")'

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

* Re: [PR PATCH] [Updated] minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
                   ` (3 preceding siblings ...)
  2020-05-20 20:54 ` SevereOverfl0w
@ 2020-07-14 15:55 ` SevereOverfl0w
  2020-07-14 16:01 ` SevereOverfl0w
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: SevereOverfl0w @ 2020-07-14 15:55 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SevereOverfl0w against master on the void-packages repository

https://github.com/SevereOverfl0w/void-packages minecraftupdate
https://github.com/void-linux/void-packages/pull/17896

minecraft: update to 2.1.9618.
None

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

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

From baf3653b51759492731d8f1bb073bec72b522ec1 Mon Sep 17 00:00:00 2001
From: Dominic Monroe <iam@dominic.io>
Date: Mon, 30 Dec 2019 20:06:10 +0000
Subject: [PATCH] minecraft: update to 2.1.15852.

---
 srcpkgs/minecraft/INSTALL.msg     |  5 -----
 srcpkgs/minecraft/files/LICENSE   |  1 +
 srcpkgs/minecraft/files/minecraft |  7 -------
 srcpkgs/minecraft/template        | 15 +++++++++++----
 srcpkgs/minecraft/update          |  2 ++
 5 files changed, 14 insertions(+), 16 deletions(-)
 delete mode 100644 srcpkgs/minecraft/INSTALL.msg
 create mode 100644 srcpkgs/minecraft/files/LICENSE
 delete mode 100644 srcpkgs/minecraft/files/minecraft
 create mode 100644 srcpkgs/minecraft/update

diff --git a/srcpkgs/minecraft/INSTALL.msg b/srcpkgs/minecraft/INSTALL.msg
deleted file mode 100644
index 556d58da0ad..00000000000
--- a/srcpkgs/minecraft/INSTALL.msg
+++ /dev/null
@@ -1,5 +0,0 @@
-To start the Minecraft launcher a java implementation is required,
-right now you can install the Open Java Runtime (openjdk-jre) or
-the Oracle propietary "oracle-jre" package available
-in the nonfree repository; alternatively you can also use your own
-and make sure that "java" executable is in your PATH.
diff --git a/srcpkgs/minecraft/files/LICENSE b/srcpkgs/minecraft/files/LICENSE
new file mode 100644
index 00000000000..f50a3027b46
--- /dev/null
+++ b/srcpkgs/minecraft/files/LICENSE
@@ -0,0 +1 @@
+The current version of this license can be found at: https://account.mojang.com/terms
diff --git a/srcpkgs/minecraft/files/minecraft b/srcpkgs/minecraft/files/minecraft
deleted file mode 100644
index 1ca1b42cb4b..00000000000
--- a/srcpkgs/minecraft/files/minecraft
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-HD=~/.minecraft
-HDJ=$HD/minecraft16.jar
-[ ! -d ${HD} ] && mkdir $HD
-[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
-wmname LG3D
-java -jar $HDJ
diff --git a/srcpkgs/minecraft/template b/srcpkgs/minecraft/template
index 2ffc32c2b28..2df34ceadca 100644
--- a/srcpkgs/minecraft/template
+++ b/srcpkgs/minecraft/template
@@ -1,15 +1,22 @@
 # Template file for 'minecraft'
 pkgname=minecraft
-version=0.5
+version=2.1.15852
 revision=1
 archs=noarch
-depends="wmname wget"
+wrksrc="minecraft-launcher"
+depends="virtual?java-environment GConf"
 short_desc="Launcher for the famous Minecraft game"
 maintainer="Orphaned <orphan@voidlinux.org>"
+license="custom:Minecraft End User License Agreement"
 homepage="http://www.minecraft.net/"
-license="Propietary"
+distfiles="https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz"
+checksum=5dd8ac2a19e683b0a8fe20f639faa0944334482e9abb9347820d1d34f5b5631a
 repository=nonfree
 
 do_install() {
-	vbin ${FILESDIR}/minecraft
+	vmkdir opt/minecraft
+	vcopy * /opt/minecraft/
+	vmkdir usr/bin
+	vlicense $FILESDIR/LICENSE
+	ln -sf /opt/minecraft/minecraft-launcher ${DESTDIR}/usr/bin/
 }
diff --git a/srcpkgs/minecraft/update b/srcpkgs/minecraft/update
new file mode 100644
index 00000000000..afb8a6a9036
--- /dev/null
+++ b/srcpkgs/minecraft/update
@@ -0,0 +1,2 @@
+site='http://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json'
+pattern='launcher-core.*?"name": "\K[\d.]+(?=")'

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

* Re: minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
                   ` (4 preceding siblings ...)
  2020-07-14 15:55 ` SevereOverfl0w
@ 2020-07-14 16:01 ` SevereOverfl0w
  2020-07-14 17:44 ` Chocimier
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: SevereOverfl0w @ 2020-07-14 16:01 UTC (permalink / raw)
  To: ml

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

New comment by SevereOverfl0w on void-packages repository

https://github.com/void-linux/void-packages/pull/17896#issuecomment-658265047

Comment:
I've done the update

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

* Re: minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
                   ` (5 preceding siblings ...)
  2020-07-14 16:01 ` SevereOverfl0w
@ 2020-07-14 17:44 ` Chocimier
  2020-07-14 17:45 ` the-maldridge
  2020-07-14 17:45 ` [PR PATCH] [Closed]: " the-maldridge
  8 siblings, 0 replies; 10+ messages in thread
From: Chocimier @ 2020-07-14 17:44 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/17896#issuecomment-658318819

Comment:
See #21940. I propose to remove `minecraft` as it is hack to put non-redistributable software into repo. 

cc @Vaelatern @the-maldridge 

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

* Re: minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
                   ` (6 preceding siblings ...)
  2020-07-14 17:44 ` Chocimier
@ 2020-07-14 17:45 ` the-maldridge
  2020-07-14 17:45 ` [PR PATCH] [Closed]: " the-maldridge
  8 siblings, 0 replies; 10+ messages in thread
From: the-maldridge @ 2020-07-14 17:45 UTC (permalink / raw)
  To: ml

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

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/17896#issuecomment-658319363

Comment:
Sounds good.  Please remove at your convenience.

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

* Re: [PR PATCH] [Closed]: minecraft: update to 2.1.9618.
  2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
                   ` (7 preceding siblings ...)
  2020-07-14 17:45 ` the-maldridge
@ 2020-07-14 17:45 ` the-maldridge
  8 siblings, 0 replies; 10+ messages in thread
From: the-maldridge @ 2020-07-14 17:45 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

minecraft: update to 2.1.9618.
https://github.com/void-linux/void-packages/pull/17896

Description:
None

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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-30 20:07 [PR PATCH] minecraft: update to 2.1.9618 voidlinux-github
2019-12-30 20:08 ` [PR PATCH] [Updated] " voidlinux-github
2020-05-20 20:21 ` SevereOverfl0w
2020-05-20 20:36 ` SevereOverfl0w
2020-05-20 20:54 ` SevereOverfl0w
2020-07-14 15:55 ` SevereOverfl0w
2020-07-14 16:01 ` SevereOverfl0w
2020-07-14 17:44 ` Chocimier
2020-07-14 17:45 ` the-maldridge
2020-07-14 17:45 ` [PR PATCH] [Closed]: " the-maldridge

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).