2019-10-05 11:26:24 +02:00
|
|
|
# Description: Official Minecraft Launcher.
|
|
|
|
# URL: https://mojang.com/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-03-18 02:39:27 +01:00
|
|
|
# Depends on: gconf openjdk8
|
2019-10-05 11:26:24 +02:00
|
|
|
|
|
|
|
name=minecraft-launcher
|
2020-03-18 02:39:27 +01:00
|
|
|
version=2.1.12872
|
2019-10-05 11:26:24 +02:00
|
|
|
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 -d $PKG/opt
|
|
|
|
install -d $PKG/usr
|
|
|
|
install -d $PKG/usr/bin
|
|
|
|
|
|
|
|
install -Dm644 $SRC/minecraft-launcher.svg \
|
|
|
|
$PKG/usr/share/icons/hicolor/symbolic/apps/minecraft-launcher.svg
|
|
|
|
|
|
|
|
install -Dm644 $SRC/minecraft-launcher.desktop \
|
|
|
|
$PKG/usr/share/applications/minecraft-launcher.desktop
|
|
|
|
|
|
|
|
cp -Rv $SRC/minecraft-launcher $PKG/opt/minecraft-launcher
|
|
|
|
rm -rf $PKG/opt/minecraft-launcher/{include,lib}
|
|
|
|
|
|
|
|
ln -s /opt/minecraft-launcher/minecraft-launcher $PKG/usr/bin/minecraft-launcher
|
|
|
|
}
|