Github messages for voidlinux
 help / color / mirror / Atom feed
From: MattTreadwell <MattTreadwell@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: minecraft-legacy-1.6.93
Date: Thu, 14 May 2020 06:37:48 +0200	[thread overview]
Message-ID: <20200514043748.3ofofbVcb8K9-adBT1q9rZaV6CsiUqh_cPWQ9Z1pQrI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21944@inbox.vuxu.org>

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

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

https://github.com/MattTreadwell/void-packages minecraft-legacy
https://github.com/void-linux/void-packages/pull/21944

New package: minecraft-legacy-1.6.93
As discussed in https://github.com/void-linux/void-packages/issues/13139, this will replace the existing the minecraft package and has proper licensing and versioning. 

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

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

From 6754bd9df0575104c33f349bfa925c6747dd1055 Mon Sep 17 00:00:00 2001
From: Matthew Treadwell <Treadwell@inventati.org>
Date: Wed, 13 May 2020 20:40:52 -0700
Subject: [PATCH] New package: minecraft-legacy-1.6.93

---
 srcpkgs/minecraft-legacy/INSTALL.msg          |  3 +++
 .../minecraft-legacy/files/minecraft-legacy   |  4 +++
 srcpkgs/minecraft-legacy/template             | 25 +++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 srcpkgs/minecraft-legacy/INSTALL.msg
 create mode 100644 srcpkgs/minecraft-legacy/files/minecraft-legacy
 create mode 100644 srcpkgs/minecraft-legacy/template

diff --git a/srcpkgs/minecraft-legacy/INSTALL.msg b/srcpkgs/minecraft-legacy/INSTALL.msg
new file mode 100644
index 00000000000..7e15f3a350e
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/INSTALL.msg
@@ -0,0 +1,3 @@
+NOTE: This package may not be compatible with newest versions of
+      minecraft. Install minecraft-launcher to run the latest 
+      versions of minecraft.
diff --git a/srcpkgs/minecraft-legacy/files/minecraft-legacy b/srcpkgs/minecraft-legacy/files/minecraft-legacy
new file mode 100644
index 00000000000..f2fadfa24d6
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/files/minecraft-legacy
@@ -0,0 +1,4 @@
+#!/bin/sh
+JAR_PATH=/opt/minecraft-legacy/launcher.jar
+
+java -jar $JAR_PATH
diff --git a/srcpkgs/minecraft-legacy/template b/srcpkgs/minecraft-legacy/template
new file mode 100644
index 00000000000..6338b1fb8e7
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/template
@@ -0,0 +1,25 @@
+# Template file for 'minecraft-legacy'
+pkgname=minecraft-legacy
+version=1.6.93
+revision=1
+archs=noarch
+wrksrc="minecraft-legacy"
+build_style=fetch
+depends="virtual?java-runtime wmname wget"
+short_desc="Legacy launcher for Minecraft (outdated)"
+maintainer="Matthew Treadwell <hewtreadwell@gmail.com>"
+license="custom:Minecraft"
+homepage="http://www.minecraft.net/"
+distfiles="https://launcher.mojang.com/v1/objects/eabbff5ff8e21250e33670924a0c5e38f47c840b/launcher.jar https://account.mojang.com/documents/minecraft_eula"
+checksum="d98de795667f666652e4d0f453708c51292cc326860f387ae8fdfc7cbaf33ca1 a1487b03e88c43c7a33ed2f24328ae28767c17fca73d846193adc188b9e0ddc2"
+repository=nonfree
+restricted=yes
+
+do_install() {
+	vmkdir /opt
+	vmkdir /opt/minecraft-legacy
+	vcopy "${XBPS_SRCDISTDIR}/${pkgname}-${version}/launcher.jar" "/opt/minecraft-legacy/"
+	vbin ${FILESDIR}/minecraft-legacy
+
+	vlicense "${XBPS_SRCDISTDIR}/${pkgname}-${version}/minecraft_eula"
+}

  parent reply	other threads:[~2020-05-14  4:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-14  3:45 [PR PATCH] " MattTreadwell
2020-05-14  4:12 ` Vaelatern
2020-05-14  4:37 ` MattTreadwell [this message]
2020-05-14 14:48 ` dawidpotocki
2020-05-18  7:26 ` [PR PATCH] [Closed]: " MattTreadwell

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=20200514043748.3ofofbVcb8K9-adBT1q9rZaV6CsiUqh_cPWQ9Z1pQrI@z \
    --to=matttreadwell@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).