10
packages/debian/makedeb.sh
Executable file
10
packages/debian/makedeb.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
mkdir builddir
|
||||
cd builddir
|
||||
cmake -DLauncher_LAYOUT=lin-system -DCMAKE_INSTALL_PREFIX=../polymc/usr ../../../
|
||||
make -j$(nproc) install
|
||||
cd ..
|
||||
VERSION_PLACEHOLDER=$(git describe --tags | sed 's/-.*//')
|
||||
cp polymc/DEBIAN/control.template polymc/DEBIAN/control
|
||||
sed -i "2s/.*/Version: $VERSION_PLACEHOLDER/" polymc/DEBIAN/control
|
||||
dpkg-deb --build polymc
|
9
packages/debian/polymc/DEBIAN/control.template
Normal file
9
packages/debian/polymc/DEBIAN/control.template
Normal file
@ -0,0 +1,9 @@
|
||||
Package: polymc
|
||||
Version:
|
||||
Section: games
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Depends: libqt5core5a, libqt5network5, libqt5gui5
|
||||
Maintainer: PolyMC Team
|
||||
Description: PolyMC
|
||||
A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
|
11
packages/debian/polymc/usr/share/applications/polymc.desktop
Normal file
11
packages/debian/polymc/usr/share/applications/polymc.desktop
Normal file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=PolyMC
|
||||
Comment=A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once.
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Exec=polymc
|
||||
StartupNotify=true
|
||||
Icon=null
|
||||
Categories=Game;
|
||||
Keywords=game;minecraft;launcher;
|
Reference in New Issue
Block a user