summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2017-08-06 15:07:24 +0200
committerMichael Straube2017-08-06 15:07:24 +0200
commitfec0a406ace8675b8e01e4a67ade40077a49099e (patch)
treed0d86d91c342970a646723ea25b94108622341b5
parent99c6cb0488de24af1f74f9bd915b70404cd870d9 (diff)
downloadaur-fec0a406ace8675b8e01e4a67ade40077a49099e.tar.gz
Symlink the icon
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2d0d67bb598..762cc0e42d0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sdlpop
pkgdesc = An open-source port of Prince of Persia
pkgver = 1.17
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/NagyD/SDLPoP
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index fc6f7d8aeda..0d4ac54c52b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sdlpop
pkgver=1.17
-pkgrel=2
+pkgrel=3
pkgdesc="An open-source port of Prince of Persia"
arch=('i686' 'x86_64')
license=('GPL3')
@@ -15,7 +15,7 @@ sha256sums=('aa4b254ab80b889a6db491b41c4f83467124d932cc0836e5979fa73b6c49a94d'
'08275c83ec0f19484b90b88a7a31cca2f4503d1cba11a02f1cf97ac4fec67475')
prepare() {
- gendesk -n --pkgname=$pkgname --name=SDLPoP --comment="$pkgdesc" \
+ gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc" --name=SDLPoP \
--exec=prince --categories="Application;Game;ArcadeGame"
}
@@ -26,10 +26,10 @@ build() {
package() {
cd SDLPoP-$pkgver
- install -d "$pkgdir"/usr/{lib/sdlpop,share/sdlpop}
+ install -d "$pkgdir"/usr/{lib/sdlpop,share/{sdlpop,pixmaps}}
install -m755 prince "$pkgdir"/usr/lib/sdlpop
cp -r data doc mods SDLPoP.ini "$pkgdir"/usr/share/sdlpop
install -Dm755 ../sdlpop.sh "$pkgdir"/usr/bin/prince
install -Dm644 ../sdlpop.desktop "$pkgdir"/usr/share/applications/sdlpop.desktop
- install -Dm644 "$pkgdir"/usr/share/sdlpop/data/icon.png "$pkgdir"/usr/share/pixmaps/sdlpop.png
+ ln -s /usr/share/sdlpop/data/icon.png "$pkgdir"/usr/share/pixmaps/sdlpop.png
}