summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck STAUFFER2020-09-12 00:45:25 +0200
committerFranck STAUFFER2020-09-12 00:45:25 +0200
commit1842b0c3acc95ac1fb8dc696396439a0b697596e (patch)
treeeba060492404230f05fda9693c93c4582396e1c2
parent3802529825eb59536c59cd2942dfc9089b195407 (diff)
downloadaur-1842b0c3acc95ac1fb8dc696396439a0b697596e.tar.gz
Add desktop entry
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
-rw-r--r--zelda-xd2.desktop10
-rw-r--r--zelda-xd2.pngbin0 -> 9622 bytes
4 files changed, 19 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 55be9077a1bc..7797a7165df8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,7 +11,9 @@ pkgbase = zelda-xd2
makedepends = zip
depends = solarus>=1.6.0
source = https://gitlab.com/solarus-games/zelda-xd2-mercuris-chess/-/archive/v1.1.1/zelda-xd2-mercuris-chess-v1.1.1.tar.gz
+ source = zelda-xd2.desktop
b2sums = d7d84d9d5b5b5a77f539a9b09e84f307cedae85b7a8342806954eae99f32a414ab75beb1d3b7761f29641f6356fe4b83ca7d65554ce5f80fbf3702d8c9f1d6d6
+ b2sums = b0a713910884fa4e075f0c14a80b80ec32e614e361bf3bde31dab8a6ed8e277599aec51408c50320afc33544940a8d0d9d03793ddef7fdf7a683aaa3b3cb9c7f
pkgname = zelda-xd2
diff --git a/PKGBUILD b/PKGBUILD
index 0decfd67d7b3..b2b99487d22d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,16 +12,20 @@ license=('GPL3' 'custom')
depends=('solarus>=1.6.0')
makedepends=('cmake' 'zip')
changelog="$pkgname.changelog"
-source=("https://gitlab.com/solarus-games/zelda-xd2-mercuris-chess/-/archive/v$pkgver/zelda-xd2-mercuris-chess-v$pkgver.tar.gz")
-b2sums=('d7d84d9d5b5b5a77f539a9b09e84f307cedae85b7a8342806954eae99f32a414ab75beb1d3b7761f29641f6356fe4b83ca7d65554ce5f80fbf3702d8c9f1d6d6')
+source=("https://gitlab.com/solarus-games/zelda-xd2-mercuris-chess/-/archive/v$pkgver/zelda-xd2-mercuris-chess-v$pkgver.tar.gz"
+ "$pkgname.desktop")
+b2sums=('d7d84d9d5b5b5a77f539a9b09e84f307cedae85b7a8342806954eae99f32a414ab75beb1d3b7761f29641f6356fe4b83ca7d65554ce5f80fbf3702d8c9f1d6d6'
+ 'b0a713910884fa4e075f0c14a80b80ec32e614e361bf3bde31dab8a6ed8e277599aec51408c50320afc33544940a8d0d9d03793ddef7fdf7a683aaa3b3cb9c7f')
build() {
cd "zelda-xd2-mercuris-chess-v$pkgver"
- cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release .
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" .
make
}
package() {
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+
cd "zelda-xd2-mercuris-chess-v$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
diff --git a/zelda-xd2.desktop b/zelda-xd2.desktop
new file mode 100644
index 000000000000..0cdd6b5d018d
--- /dev/null
+++ b/zelda-xd2.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=The Legend of Zelda XD2: Mercuris Chess
+Comment=Second April fools game from the Solarus Team
+Path=/usr/bin
+Exec=zelda_xd2_mercuris_chess
+Icon=zelda-xd2
+Terminal=false
+Categories=Game;
diff --git a/zelda-xd2.png b/zelda-xd2.png
new file mode 100644
index 000000000000..96f0a18d3be1
--- /dev/null
+++ b/zelda-xd2.png
Binary files differ