From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] minecraft: update to 2.1
Date: Sun, 08 Sep 2019 11:29:10 +0200 [thread overview]
Message-ID: <20190908092910.Zzar7k3ZARCWmk0SAzcHO2QDQ15no3dmlBZkMukVQj4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14221@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 325 bytes --]
There is an updated 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: 2403 bytes --]
From 705cced0127d5896ef39205ef2e96a2b549be35e 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/LICENSE | 1 +
srcpkgs/minecraft/files/minecraft | 7 -------
srcpkgs/minecraft/template | 21 ++++++++++++++++-----
3 files changed, 17 insertions(+), 12 deletions(-)
create mode 100644 srcpkgs/minecraft/files/LICENSE
delete mode 100644 srcpkgs/minecraft/files/minecraft
diff --git a/srcpkgs/minecraft/files/LICENSE b/srcpkgs/minecraft/files/LICENSE
new file mode 100644
index 00000000000..cfa3c201565
--- /dev/null
+++ b/srcpkgs/minecraft/files/LICENSE
@@ -0,0 +1 @@
+see https://account.mojang.com/documents/minecraft_eula
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..ecd1ee02db5 100644
--- a/srcpkgs/minecraft/template
+++ b/srcpkgs/minecraft/template
@@ -1,15 +1,26 @@
# Template file for 'minecraft'
pkgname=minecraft
-version=0.5
+version=2.1.5965
revision=1
archs=noarch
-depends="wmname wget"
+wrksrc=${pkgname}-launcher
+depends="virtual?java-runtime GConf alsa-lib gtk+ libX11 libXScrnSaver libXtst libxcb nss xrandr"
short_desc="Launcher for the famous Minecraft game"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Matthew Treadwell <hewtreadwell@gmail.com>"
+license="custom:Minecraft"
homepage="http://www.minecraft.net/"
-license="Propietary"
+distfiles="https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz"
+checksum=85a0a2478861c3e660a1273f6b6ac2e14232ae439cd6d6172391065274228c72
repository=nonfree
do_install() {
- vbin ${FILESDIR}/minecraft
+ vmkdir /opt
+ vcopy ../minecraft-launcher /opt/"${pkgname}"
+ rm -rf "${DESTDIR}/opt/$pkgname/lib/"
+ rm -rf "${DESTDIR}/opt/$pkgname/include/"
+
+ vmkdir /usr/bin
+ ln -s "/opt/${pkgname}/minecraft-launcher" "${DESTDIR}/usr/bin/$pkgname"
+
+ vlicense ${FILESDIR}/LICENSE
}
next prev parent reply other threads:[~2019-09-08 9:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-05 9:54 [PR PATCH] " 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 [this message]
2020-05-14 1:07 ` [PR PATCH] [Closed]: " MattTreadwell
2020-05-14 1:07 ` [PR PATCH] [Updated] " 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=20190908092910.Zzar7k3ZARCWmk0SAzcHO2QDQ15no3dmlBZkMukVQj4@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).