mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
Merge updates from master
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit desktop xdg
|
inherit desktop java-pkg-2 xdg
|
||||||
|
|
||||||
DESCRIPTION="Minecraft launcher which integrates multiple different ModPacks"
|
DESCRIPTION="Minecraft launcher which integrates multiple different ModPacks"
|
||||||
HOMEPAGE="https://atlauncher.com
|
HOMEPAGE="https://atlauncher.com
|
||||||
@@ -31,13 +31,11 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dodir /opt/${PN}
|
java-pkg_newjar "${DISTDIR}/${P}.jar" ${P}.jar
|
||||||
insinto /opt/${PN}/
|
|
||||||
newins "${DISTDIR}/${P}.jar" ${PN}.jar
|
|
||||||
|
|
||||||
insinto /opt/bin/
|
insinto /usr/bin/
|
||||||
doins "${FILESDIR}/${PN}"
|
doins "${FILESDIR}/${PN}"
|
||||||
fperms +x /opt/bin/${PN}
|
fperms +x /usr/bin/${PN}
|
||||||
|
|
||||||
newicon -s 256x256 ${PN}-0.png ${PN}.png
|
newicon -s 256x256 ${PN}-0.png ${PN}.png
|
||||||
newicon -s 128x128 ${PN}-1.png ${PN}.png
|
newicon -s 128x128 ${PN}-1.png ${PN}.png
|
||||||
|
|||||||
@@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
# we need to execute this in a user writeable directory
|
# we need to execute this in a user writeable directory
|
||||||
|
|
||||||
if [ ! -f ${HOME}/ATLauncher/ATLauncher.jar ]; then
|
mkdir -p ${HOME}/.local/share/ATLauncher
|
||||||
mkdir -p ${HOME}/.local/share/ATLauncher
|
cp /usr/share/ATLauncher/lib/ATLauncher-*.jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
|
||||||
cp /opt/ATLauncher/ATLauncher.jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
|
|
||||||
fi
|
|
||||||
|
|
||||||
java -jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
|
java -jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
java -jar /opt/minecraft-launcher/minecraft-launcher.jar
|
|
||||||
|
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit desktop xdg
|
inherit desktop java-pkg-2 xdg
|
||||||
|
|
||||||
DESCRIPTION="An open-world game whose gameplay revolves around breaking and placing blocks"
|
DESCRIPTION="An open-world game whose gameplay revolves around breaking and placing blocks"
|
||||||
HOMEPAGE="https://www.minecraft.net"
|
HOMEPAGE="https://www.minecraft.net"
|
||||||
@@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86"
|
|||||||
LICENSE="Mojang"
|
LICENSE="Mojang"
|
||||||
SLOT="1"
|
SLOT="1"
|
||||||
|
|
||||||
RESTRICT="mirror"
|
RESTRICT="bindist mirror"
|
||||||
|
|
||||||
RDEPEND="virtual/jre:1.8"
|
RDEPEND="virtual/jre:1.8"
|
||||||
|
|
||||||
@@ -26,13 +26,8 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dodir /opt/${PN}
|
java-pkg_newjar "${DISTDIR}/${P}.jar" ${P}-legacy.jar
|
||||||
insinto /opt/${PN}/
|
java-pkg_dolauncher ${PN}-legacy --jar ${P}-legacy.jar --java_args "\${JAVA_OPTS}"
|
||||||
newins "${DISTDIR}/${P}.jar" ${PN}.jar
|
|
||||||
|
|
||||||
insinto /opt/bin/
|
|
||||||
doins "${FILESDIR}/${PN}-legacy"
|
|
||||||
fperms +x /opt/bin/${PN}-legacy
|
|
||||||
|
|
||||||
doicon -s scalable "${DISTDIR}/${PN}-legacy.svg"
|
doicon -s scalable "${DISTDIR}/${PN}-legacy.svg"
|
||||||
make_desktop_entry ${PN}-legacy "Minecraft (legacy)" ${PN}-legacy Game
|
make_desktop_entry ${PN}-legacy "Minecraft (legacy)" ${PN}-legacy Game
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86"
|
|||||||
LICENSE="Mojang"
|
LICENSE="Mojang"
|
||||||
SLOT="2"
|
SLOT="2"
|
||||||
|
|
||||||
RESTRICT="mirror"
|
RESTRICT="bindist mirror"
|
||||||
|
|
||||||
RDEPEND="gnome-base/gconf
|
RDEPEND="gnome-base/gconf
|
||||||
sys-apps/dbus
|
sys-apps/dbus
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
java -jar /opt/technic-launcher/technic-launcher.jar
|
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit desktop xdg
|
inherit desktop java-pkg-2 xdg
|
||||||
|
|
||||||
DESCRIPTION="Minecraft launcher for community-made modpacks on the Technic Platform"
|
DESCRIPTION="Minecraft launcher for community-made modpacks on the Technic Platform"
|
||||||
HOMEPAGE="https://www.technicpack.net/"
|
HOMEPAGE="https://www.technicpack.net/"
|
||||||
@@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86"
|
|||||||
LICENSE="technic"
|
LICENSE="technic"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
|
||||||
RESTRICT="mirror"
|
RESTRICT="bindist mirror"
|
||||||
|
|
||||||
BDEPEND="media-gfx/imagemagick"
|
BDEPEND="media-gfx/imagemagick"
|
||||||
|
|
||||||
@@ -32,13 +32,8 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dodir /opt/${PN}
|
java-pkg_newjar "${DISTDIR}/${P}.jar" ${P}.jar
|
||||||
insinto /opt/${PN}/
|
java-pkg_dolauncher ${PN} --jar ${P}.jar --java_args "\${JAVA_OPTS}"
|
||||||
newins "${DISTDIR}/${P}.jar" ${PN}.jar
|
|
||||||
|
|
||||||
insinto /opt/bin/
|
|
||||||
doins "${FILESDIR}/${PN}"
|
|
||||||
fperms +x /opt/bin/${PN}
|
|
||||||
|
|
||||||
newicon -s 16x16 ${PN}-0.png ${PN}.png
|
newicon -s 16x16 ${PN}-0.png ${PN}.png
|
||||||
newicon -s 32x32 ${PN}-1.png ${PN}.png
|
newicon -s 32x32 ${PN}-1.png ${PN}.png
|
||||||
|
|||||||
Reference in New Issue
Block a user