maelstrom: add desktop file

This commit is contained in:
John McQuah 2022-12-26 20:48:38 -05:00
parent ff3130aad6
commit 0b1a7e8829
4 changed files with 20 additions and 5 deletions

View File

@ -38,3 +38,5 @@ drwxr-xr-x root/root usr/share/Maelstrom/Images/
-rw-r--r-- root/root usr/share/Maelstrom/Maelstrom_Sprites
-rw-r--r-- root/root usr/share/Maelstrom/icon.bmp
-rw-r--r-- root/root usr/share/Maelstrom/icon.xpm
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/maelstrom.desktop

View File

@ -1,7 +1,8 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxB46FNvEouZSXbXrA3Kh2Xc0kVMWEBX59dDSct17lU3kcDCIp6oATG23XLlXgjFfTJ0nRxIwPd/CMRNTXsrV3ws=
SHA256 (Pkgfile) = a497a10f533e7711305293036b9afdaa15ecd9bd72c261c1c11aa0d169ccdb27
SHA256 (.footprint) = 9d4f25ce85cf4050d2785df5e7582b01e6bbf0e4064ef712b15b9d1414f7c228
RWTTPlFarK9CxO3/f7Th7FLiE422G6Xsy8w9FDHRwfF/6wqVXL3lNaYjvAr+hxDRnfI75ORxzPdV9wpYyKonJET6VnM4/NC+uAE=
SHA256 (Pkgfile) = a6340427777df040229fe817936f24bdb58dcdf09f57bd8e5689d5754eccb032
SHA256 (.footprint) = 2375bbea57a0be742c0feda394867d968e6fe3542252651f3e76d0ec58efa450
SHA256 (Maelstrom-3.0.7.tar.gz) = 93680322f4b04d4727ea8e0b461f259b604dc69e7465cb91d2b9aad378a9a036
SHA256 (include-time_h.patch) = 679375679438b2e9fa99dcff819457ed078e7ce5d77b43223698f8ccdd5a9941
SHA256 (struct-button.patch) = 04944cc63ef9ba64cc876b74d8b6cac9af252aad4cccd0e753f7c7414dc37b8f
SHA256 (maelstrom.desktop) = a4247d50fc6489517172cd0fdc65bb740dfaf11a54939e36f587fa0da283c02f

View File

@ -7,7 +7,7 @@ name=maelstrom
Name=Maelstrom
version=3.0.7
release=1
source=(http://libsdl.org/projects/$Name/src/$Name-$version.tar.gz include-time_h.patch struct-button.patch)
source=(http://libsdl.org/projects/$Name/src/$Name-$version.tar.gz include-time_h.patch struct-button.patch $name.desktop)
build() {
cd "$Name-$version"
@ -20,6 +20,7 @@ build() {
make
install -d $PKG/usr/bin
install -d $PKG/usr/share/$Name/Images
install -d $PKG/usr/share/applications
install -m 0755 $Name $PKG/usr/bin/$name
install -m 0644 -t $PKG/usr/share/$Name "${Name}_Fonts"
install -m 0644 -t $PKG/usr/share/$Name "${Name}_Sounds"
@ -27,5 +28,5 @@ build() {
install -m 0644 -t $PKG/usr/share/$Name "icon.bmp"
install -m 0644 -t $PKG/usr/share/$Name "icon.xpm"
install -m 0644 -t $PKG/usr/share/$Name/Images Images/*
install -m 0644 -t $PKG/usr/share/applications $SRC/$name.desktop
}

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Maelstrom
GenericName=asteroid field navigation game
Comment=A game of piloting through a 2D asteroid field
Exec=maelstrom
Icon=/usr/share/Maelstrom/icon.xpm
Type=Application
Keywords=asteroids;shooting;space;piloting;
Categories=Game;
StartupNotify=false
Terminal=false