# Description: Official Minecraft Launcher.
# URL: https://www.minecraft.net/
# Maintainer: unmaintained
# Depends on: gtk3 openjdk17-jdk xorg-xrandr libsecret gnome-keyring

name=minecraft-launcher
version=1.0.1221
release=1
source=(https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_$version.tar.gz
	https://launcher.mojang.com/download/minecraft-launcher.svg
	minecraft-launcher.desktop)

build() {
	install -Dm644 -t $PKG/usr/share/icons/hicolor/symbolic/apps $SRC/minecraft-launcher.svg
	install -Dm644 -t $PKG/usr/share/applications $SRC/minecraft-launcher.desktop
	install -Dm755 -t $PKG/usr/bin $SRC/minecraft-launcher/minecraft-launcher
}
