diff options
Diffstat (limited to 'packages/debian')
-rwxr-xr-x | packages/debian/makedeb.sh | 10 | ||||
-rw-r--r-- | packages/debian/polymc/DEBIAN/control.template | 9 | ||||
-rw-r--r-- | packages/debian/polymc/usr/share/applications/polymc.desktop | 11 |
3 files changed, 30 insertions, 0 deletions
diff --git a/packages/debian/makedeb.sh b/packages/debian/makedeb.sh new file mode 100755 index 00000000..5a8c71dd --- /dev/null +++ b/packages/debian/makedeb.sh @@ -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 diff --git a/packages/debian/polymc/DEBIAN/control.template b/packages/debian/polymc/DEBIAN/control.template new file mode 100644 index 00000000..f7c294bc --- /dev/null +++ b/packages/debian/polymc/DEBIAN/control.template @@ -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 diff --git a/packages/debian/polymc/usr/share/applications/polymc.desktop b/packages/debian/polymc/usr/share/applications/polymc.desktop new file mode 100644 index 00000000..7cf78e9f --- /dev/null +++ b/packages/debian/polymc/usr/share/applications/polymc.desktop @@ -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; |