summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2017-01-01 14:15:20 +0100
committerMichael Straube2017-01-01 14:15:20 +0100
commitcbef78179be753672624f2ef972542f412b1ef97 (patch)
tree70feceb79474249f72ae3fa8c6bda01a0821d2cc
parentef2180493bde455a200f7a9fb761cf94f69a3bc0 (diff)
downloadaur-cbef78179be753672624f2ef972542f412b1ef97.tar.gz
Add icon and .desktop file
-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 20530334fad..5c90d3a7eb2 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 bf4069449d3..beadabcf92e 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 00000000000..c10ef2be432
--- /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;
+