Commit 6a27c5dd authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: added PolyMC (eterbug #18292)

parent e0300f19
#!/bin/sh
PKGNAME=PolyMC-Linux
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION='Minecraft launcher with the ability to manage multiple instances'
URL="https://github.com/PolyMC/PolyMC"
. $(dirname $0)/common.sh
arch=x86_64
if [ "$VERSION" = "*" ] ; then
PKGURL=$(get_github_url "https://github.com/PolyMC/PolyMC/" "PolyMC-Linux-${VERSION}-${arch}.AppImage")
else
PKGURL="https://github.com/PolyMC/PolyMC/releases/download/$VERSION/PolyMC-Linux-${VERSION}-${arch}.AppImage"
fi
install_pkgurl
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=PolyMC-Linux
PRODUCTDIR=/opt/$PRODUCT
. $(dirname $0)/common.sh
move_file /usr/share/pixmaps/PolyMC-Linux.svg /usr/share/icons/hicolor/scalable/apps/org.polymc.PolyMC.svg
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment