diff options
author | Franck STAUFFER | 2020-09-12 00:45:25 +0200 |
---|---|---|
committer | Franck STAUFFER | 2020-09-12 00:45:25 +0200 |
commit | 1842b0c3acc95ac1fb8dc696396439a0b697596e (patch) | |
tree | eba060492404230f05fda9693c93c4582396e1c2 | |
parent | 3802529825eb59536c59cd2942dfc9089b195407 (diff) | |
download | aur-1842b0c3acc95ac1fb8dc696396439a0b697596e.tar.gz |
Add desktop entry
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | zelda-xd2.desktop | 10 | ||||
-rw-r--r-- | zelda-xd2.png | bin | 0 -> 9622 bytes |
4 files changed, 19 insertions, 3 deletions
@@ -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 @@ -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 Binary files differnew file mode 100644 index 000000000000..96f0a18d3be1 --- /dev/null +++ b/zelda-xd2.png |