summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2016-12-04 18:01:13 +0100
committerMichael Straube2016-12-04 18:01:13 +0100
commite756fba0f6e3a675c4a10454130274ee1667ec15 (patch)
tree76bf4e47d79928b6d7e406a8b7142780c2d2d6e0
parente5149b94056c5fe4cb52604491c061b00f2ff23e (diff)
downloadaur-e756fba0f6e3a675c4a10454130274ee1667ec15.tar.gz
Move binary from /usr/share to /usr/lib
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
-rw-r--r--prince2
3 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02d6bdc31ae..00900d80dd6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sdlpop
pkgdesc = An open-source port of Prince of Persia
pkgver = 1.16
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/NagyD/SDLPoP
arch = i686
arch = x86_64
@@ -11,7 +11,7 @@ pkgbase = sdlpop
source = https://github.com/NagyD/SDLPoP/archive/v1.16.tar.gz
source = prince
sha1sums = 9e6f124705ef3c6e9c66c34046c9d4d5deaffa57
- sha1sums = 7c558b7d7535fbc174bf4cc2ad9221da73fe2401
+ sha1sums = 303a77bb74743eecd7b5e86cda2e6a1e29167193
pkgname = sdlpop
diff --git a/PKGBUILD b/PKGBUILD
index eeddaf9b858..58a74ca8f1e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: Michael Straube <michael_straube web de>
+# Maintainer: Michael Straube <straubem@gmx.de>
pkgname=sdlpop
pkgver=1.16
-pkgrel=2
+pkgrel=3
pkgdesc="An open-source port of Prince of Persia"
arch=('i686' 'x86_64')
license=('GPL3')
@@ -11,7 +11,7 @@ depends=('sdl2_image' 'sdl2_mixer')
source=("https://github.com/NagyD/SDLPoP/archive/v$pkgver.tar.gz"
"prince")
sha1sums=('9e6f124705ef3c6e9c66c34046c9d4d5deaffa57'
- '7c558b7d7535fbc174bf4cc2ad9221da73fe2401')
+ '303a77bb74743eecd7b5e86cda2e6a1e29167193')
build() {
cd SDLPoP-$pkgver
@@ -22,12 +22,12 @@ build() {
package() {
cd SDLPoP-$pkgver
- install -d -m 755 "$pkgdir"/usr/share/{sdlpop,doc/sdlpop}
+ install -d "$pkgdir"/usr/{lib/sdlpop,share/{sdlpop,doc/sdlpop}}
- install -m 755 prince "$pkgdir/usr/share/sdlpop/"
- install -m 644 SDLPoP.ini *.DAT "$pkgdir/usr/share/sdlpop/"
- install -m 644 doc/* "$pkgdir/usr/share/doc/sdlpop/"
- cp -r data "$pkgdir/usr/share/sdlpop/"
+ install -m 755 prince "$pkgdir"/usr/lib/sdlpop
+ install -m 644 SDLPoP.ini *.DAT "$pkgdir"/usr/share/sdlpop
+ install -m 644 doc/* "$pkgdir"/usr/share/doc/sdlpop
+ cp -r data "$pkgdir"/usr/share/sdlpop
- install -D -m 755 "$srcdir/prince" "$pkgdir/usr/bin/prince"
+ install -D -m 755 ../prince "$pkgdir"/usr/bin/prince
}
diff --git a/prince b/prince
index e4a205d56f5..2762b5d15af 100644
--- a/prince
+++ b/prince
@@ -1,3 +1,3 @@
#!/bin/bash
cd /usr/share/sdlpop
-./prince "$@"
+/usr/lib/sdlpop/prince "$@"