Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] added multimc-bin package
@ 2022-07-03 13:41 datsanakas
  2022-07-03 13:47 ` 0x5c
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: datsanakas @ 2022-07-03 13:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/datsanakas/void-packages master
https://github.com/void-linux/void-packages/pull/37814

added multimc-bin package
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture (x86_64), though it should also work for i686 because the included run.sh script downloads the correct binary for the archicetecture

### Notes
- Since MultiMC can no longer be included in the main repo, I thought it might be useful to make a restricted package to allow easy system wide installation for those who want to play minecraft on void.
- The template is based on the official arch PKGBUILD.
   



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

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

From 80b6d1ff7ccad830c3d9ffed495f5cedf84863f0 Mon Sep 17 00:00:00 2001
From: Dimitri Tsanakas <dimitri-tsanakas@protonmail.com>
Date: Sun, 3 Jul 2022 14:27:25 +0100
Subject: [PATCH] added multimc-bin package

---
 srcpkgs/multimc-bin/template | 37 ++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/multimc-bin/template

diff --git a/srcpkgs/multimc-bin/template b/srcpkgs/multimc-bin/template
new file mode 100644
index 000000000000..9ea2036375f2
--- /dev/null
+++ b/srcpkgs/multimc-bin/template
@@ -0,0 +1,37 @@
+# Template file for 'multimc-bin'
+pkgname=multimc-bin
+version=1.6
+revision=1
+archs="x86_64 i686"
+short_desc="Free, open source launcher and instance manager for Minecraft."
+maintainer="datsanakas <dimitri@sploshy.net>"
+license="Apache-2.0"
+homepage="https://multimc.org/"
+distfiles="https://files.multimc.org/downloads/multimc_${version}-1.deb https://raw.githubusercontent.com/MultiMC/Launcher/f45f83173662ea8d28a6d69a5312679df76d762b/launcher/package/ubuntu/multimc/usr/share/man/man1/multimc.1"
+checksum="d30b2577463178fd3cbe0dd30e68a30be3f85d8f50f8052e844a43acf4b46e0f c5413141151a5cb114d32c496cf49ba6bc4c755d51b1cad22aac70e38d3d3e46"
+depends="zlib mesa qt5-core qt5-x11extras qt5-svg xrandr zenity wget"
+repository=nonfree
+restricted=yes
+
+do_extract() {
+        ar p "${XBPS_SRCDISTDIR}/${pkgname}-${version}/multimc_${version}-1.deb" data.tar.xz | bsdtar --extract --xz -f - -C .
+        cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/multimc.1" .
+}
+
+do_install() {
+        vmkdir usr/bin
+        vmkdir usr/share/metainfo
+        vmkdir usr/share/applications
+        vmkdir usr/share/man/man1
+        vmkdir opt/multimc
+
+        vinstall usr/share/applications/multimc.desktop 644 usr/share/applications
+        vinstall usr/share/metainfo/multimc.metainfo.xml 644 usr/share/metainfo
+        vinstall multimc.1 644 usr/share/man/man1
+        vinstall opt/multimc/icon.svg 644 opt/multimc
+        vinstall opt/multimc/run.sh 755 opt/multimc
+
+        ln -sf /opt/multimc/run.sh ${DESTDIR}/usr/bin/multimc
+}
+
+

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

* Re: added multimc-bin package
  2022-07-03 13:41 [PR PATCH] added multimc-bin package datsanakas
@ 2022-07-03 13:47 ` 0x5c
  2022-07-03 15:24 ` [PR PATCH] [Closed]: " paper42
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: 0x5c @ 2022-07-03 13:47 UTC (permalink / raw)
  To: ml

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

New comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/pull/37814#issuecomment-1173093000

Comment:
You might want to have a look the fork called PolyMC, which we do package.

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

* Re: [PR PATCH] [Closed]: added multimc-bin package
  2022-07-03 13:41 [PR PATCH] added multimc-bin package datsanakas
  2022-07-03 13:47 ` 0x5c
@ 2022-07-03 15:24 ` paper42
  2022-07-03 15:24 ` paper42
  2022-07-03 15:25 ` paper42
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2022-07-03 15:24 UTC (permalink / raw)
  To: ml

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

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

added multimc-bin package
https://github.com/void-linux/void-packages/pull/37814

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture (x86_64), though it should also work for i686 because the included run.sh script downloads the correct binary for the archicetecture

### Notes
- Since MultiMC can no longer be included in the main repo, I thought it might be useful to make a restricted package to allow easy system wide installation for those who want to play minecraft on void.
- The template is based on the official arch PKGBUILD.
   



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

* Re: added multimc-bin package
  2022-07-03 13:41 [PR PATCH] added multimc-bin package datsanakas
  2022-07-03 13:47 ` 0x5c
  2022-07-03 15:24 ` [PR PATCH] [Closed]: " paper42
@ 2022-07-03 15:24 ` paper42
  2022-07-03 15:25 ` paper42
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2022-07-03 15:24 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37814#issuecomment-1173111189

Comment:
polymc is packaged, we removed the multimc package

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

* Re: added multimc-bin package
  2022-07-03 13:41 [PR PATCH] added multimc-bin package datsanakas
                   ` (2 preceding siblings ...)
  2022-07-03 15:24 ` paper42
@ 2022-07-03 15:25 ` paper42
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2022-07-03 15:25 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37814#issuecomment-1173111189

Comment:
polymc is packaged, we removed the multimc package. MultiMC was a restricted package.

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

end of thread, other threads:[~2022-07-03 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-03 13:41 [PR PATCH] added multimc-bin package datsanakas
2022-07-03 13:47 ` 0x5c
2022-07-03 15:24 ` [PR PATCH] [Closed]: " paper42
2022-07-03 15:24 ` paper42
2022-07-03 15:25 ` paper42

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