summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
-rw-r--r--sdlpop.desktop11
3 files changed, 24 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 20530334fad0..5c90d3a7eb26 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sdlpop
pkgdesc = An open-source port of Prince of Persia
pkgver = 1.16
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/NagyD/SDLPoP
arch = i686
arch = x86_64
@@ -9,8 +9,12 @@ pkgbase = sdlpop
depends = sdl2_image
depends = sdl2_mixer
source = https://github.com/NagyD/SDLPoP/archive/v1.16.tar.gz
+ source = https://github.com/NagyD/SDLPoP/raw/master/data/icon.png
+ source = sdlpop.desktop
source = prince
sha256sums = 4198eecdb2c4fed8f609af810962c943572df83da99c571146cee1596e7ee55b
+ sha256sums = 180bf87d528da7840183d7c7647c361066f687ce49051233923acdbfc1d50c70
+ sha256sums = 17a7bda2a51c6e6380c81f215387821280c4259fa5a24947de87c2926edad022
sha256sums = 4673b27ab68c2fa8babf7a5b5fa3bd42012a05e5e8e190fe29d93873445beb18
pkgname = sdlpop
diff --git a/PKGBUILD b/PKGBUILD
index bf4069449d36..beadabcf92e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,19 @@
pkgname=sdlpop
pkgver=1.16
-pkgrel=5
+pkgrel=6
pkgdesc="An open-source port of Prince of Persia"
arch=('i686' 'x86_64')
license=('GPL3')
url="https://github.com/NagyD/SDLPoP"
depends=('sdl2_image' 'sdl2_mixer')
source=("https://github.com/NagyD/SDLPoP/archive/v$pkgver.tar.gz"
+ "https://github.com/NagyD/SDLPoP/raw/master/data/icon.png"
+ "sdlpop.desktop"
"prince")
sha256sums=('4198eecdb2c4fed8f609af810962c943572df83da99c571146cee1596e7ee55b'
+ '180bf87d528da7840183d7c7647c361066f687ce49051233923acdbfc1d50c70'
+ '17a7bda2a51c6e6380c81f215387821280c4259fa5a24947de87c2926edad022'
'4673b27ab68c2fa8babf7a5b5fa3bd42012a05e5e8e190fe29d93873445beb18')
build() {
@@ -29,4 +33,7 @@ package() {
cp -r data doc "$pkgdir"/usr/share/sdlpop
install -D -m 755 ../prince "$pkgdir"/usr/bin/prince
+
+ install -D -m 644 ../icon.png "$pkgdir"/usr/share/pixmaps/sdlpop.png
+ install -D -m 644 ../sdlpop.desktop "$pkgdir"/usr/share/applications/sdlpop.desktop
}
diff --git a/sdlpop.desktop b/sdlpop.desktop
new file mode 100644
index 000000000000..c10ef2be432f
--- /dev/null
+++ b/sdlpop.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=SDLPoP
+Comment=An open-source port of Prince of Persia
+StartupNotify=false
+Exec=prince
+Icon=sdlpop.png
+Terminal=false
+Type=Application
+Categories=Application;Game;ArcadeGame;
+