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

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