Skip to content

Commit

Permalink
zsxd: Housekeeping
Browse files Browse the repository at this point in the history
**Summary**

- Remove redundant steps in package.yml
- Add appstream metainfo (Part of #1389)
- Add MAINTAINERS.md
  • Loading branch information
malfisya committed Jul 16, 2024
1 parent 7050df9 commit 2d176c0
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 22 deletions.
5 changes: 5 additions & 0 deletions packages/z/zsxd/MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This file is used to indicate primary maintainership for this package. A package may list more than one maintainer to avoid bus factor issues. People on this list may be considered “subject-matter experts”. Please note that Solus Staff may need to perform necessary rebuilds, upgrades, or security fixes as part of the normal maintenance of the Solus package repository. If you believe this package requires an update, follow documentation from https://help.getsol.us/docs/packaging/procedures/request-a-package-update. In the event that this package becomes insufficiently maintained, the Solus Staff reserves the right to request a new maintainer, or deprecate and remove this package from the repository entirely.

- Muhammad Alfi Syahrin
- Matrix: @alfisya:matrix.org
- Email: [email protected]
34 changes: 34 additions & 0 deletions packages/z/zsxd/files/org.solarus_games.zsxd.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.solarus_games.zsxd</id>

<name>The Legend of Zelda: Mystery of Solarus XD</name>
<summary>Parodic Zelda fangame made with Solarus</summary>

<metadata_license>CC0-1.0</metadata_license>
<project_license>CC-BY-SA-3.0</project_license>
<project_license>GPL-2.0-or-later</project_license>
<project_license>GPL-3.0-or-later</project_license>

<description>
<p>
The Legend of Zelda: Mystery of Solarus XD is a parodic game that we released on April 1st, 2011. Though it’s a big April 1st joke, it’s a real, full game with two huge dungeons and 5-10 hours of playing.
</p>
<p>
It was developed in a very short period of time, thanks to coffee, beer and pizzas. Though the development has been rushed to ship on time, the game is complete, with lots of jokes, references and quirky NPCs.
</p>
</description>

<launchable type="desktop-id">zsxd.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://www.solarus-games.org/games/the-legend-of-zelda-mystery-of-solarus-xd/screen1.png</image>
</screenshot>
<screenshot>
<image>https://www.solarus-games.org/games/the-legend-of-zelda-mystery-of-solarus-xd/screen2.png</image>
</screenshot>
<screenshot>
<image>https://www.solarus-games.org/games/the-legend-of-zelda-mystery-of-solarus-xd/screen3.png</image>
</screenshot>
</screenshots>
</component>
9 changes: 0 additions & 9 deletions packages/z/zsxd/files/zsxd.desktop

This file was deleted.

15 changes: 6 additions & 9 deletions packages/z/zsxd/package.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name : zsxd
version : 1.12.2
release : 5
release : 6
source :
- https://gitlab.com/solarus-games/zsxd/-/archive/v1.12.2/zsxd-v1.12.2.tar.bz2 : 656ac2033db2aca7ad0cd5c7abb25d88509b312b155ab83546c90abbc8583df1
- https://gitlab.com/solarus-games/games/zsxd/-/archive/v1.12.2/zsxd-v1.12.2.tar.bz2 : 656ac2033db2aca7ad0cd5c7abb25d88509b312b155ab83546c90abbc8583df1
homepage : https://www.solarus-games.org/games/the-legend-of-zelda-mystery-of-solarus-xd/
license :
- CC-BY-SA-3.0
Expand All @@ -15,12 +15,9 @@ description: |
rundeps :
- solarus
setup : |
%cmake -DCMAKE_BUILD_TYPE=Release .
%cmake_ninja
build : |
%make
%ninja_build
install : |
%make_install
for i in 16 24 32 48 64 128 256 512 1024; do \
install -D -m 00644 data/logos/icon_$i.png $installdir/usr/share/icons/hicolor/"$i"x"$i"/apps/zsxd.png; \
done
install -D -m 00644 $pkgfiles/zsxd.desktop $installdir/usr/share/applications/zsxd.desktop
%ninja_install
install -Dm00644 $pkgfiles/org.solarus_games.zsxd.metainfo.xml $installdir/usr/share/metainfo/org.solarus_games.zsxd.metainfo.xml
9 changes: 5 additions & 4 deletions packages/z/zsxd/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Homepage>https://www.solarus-games.org/games/the-legend-of-zelda-mystery-of-solarus-xd/</Homepage>
<Packager>
<Name>Muhammad Alfi Syahrin</Name>
<Email>ems1000.syahrin@gmail.com</Email>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>CC-BY-SA-3.0</License>
<License>GPL-2.0-or-later</License>
Expand Down Expand Up @@ -33,17 +33,18 @@
<Path fileType="data">/usr/share/icons/hicolor/48x48/apps/zsxd.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/512x512/apps/zsxd.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/64x64/apps/zsxd.png</Path>
<Path fileType="data">/usr/share/metainfo/org.solarus_games.zsxd.metainfo.xml</Path>
<Path fileType="data">/usr/share/pixmaps/zsxd.png</Path>
<Path fileType="data">/usr/share/solarus/zsxd/data.solarus</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2023-10-09</Date>
<Update release="6">
<Date>2024-07-16</Date>
<Version>1.12.2</Version>
<Comment>Packaging update</Comment>
<Name>Muhammad Alfi Syahrin</Name>
<Email>ems1000.syahrin@gmail.com</Email>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit 2d176c0

Please sign in to comment.