From 0b1a7e8829db95aabcf4a418bb715b35c56103cd Mon Sep 17 00:00:00 2001 From: John McQuah Date: Mon, 26 Dec 2022 20:48:38 -0500 Subject: [PATCH] maelstrom: add desktop file --- maelstrom/.footprint | 2 ++ maelstrom/.signature | 7 ++++--- maelstrom/Pkgfile | 5 +++-- maelstrom/maelstrom.desktop | 11 +++++++++++ 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 maelstrom/maelstrom.desktop diff --git a/maelstrom/.footprint b/maelstrom/.footprint index cc0259a..f03ad6d 100644 --- a/maelstrom/.footprint +++ b/maelstrom/.footprint @@ -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 diff --git a/maelstrom/.signature b/maelstrom/.signature index 4eea761..3ae5e9c 100644 --- a/maelstrom/.signature +++ b/maelstrom/.signature @@ -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 diff --git a/maelstrom/Pkgfile b/maelstrom/Pkgfile index 6abb90c..830d1df 100644 --- a/maelstrom/Pkgfile +++ b/maelstrom/Pkgfile @@ -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 } diff --git a/maelstrom/maelstrom.desktop b/maelstrom/maelstrom.desktop new file mode 100644 index 0000000..a5d7d57 --- /dev/null +++ b/maelstrom/maelstrom.desktop @@ -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