From: SevereOverfl0w <SevereOverfl0w@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] minecraft: update to 2.1.9618.
Date: Tue, 14 Jul 2020 17:55:38 +0200 [thread overview]
Message-ID: <20200714155538.dejf9BnHClM63AZk-u3obHyxq7z3SkCdxHh1rOf_YEs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17896@inbox.vuxu.org>
[-- 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.]+(?=")'
next prev parent reply other threads:[~2020-07-14 15:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-30 20:07 [PR PATCH] " 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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200714155538.dejf9BnHClM63AZk-u3obHyxq7z3SkCdxHh1rOf_YEs@z \
--to=severeoverfl0w@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).