summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarrat2017-07-25 19:52:25 +0200
committerNarrat2017-07-25 19:52:25 +0200
commit47e11fe0c5534f9a1c5c29cd6b390e8c431a7ac8 (patch)
tree522df840912b1223cfadee78a9fd4d5abd46c517
parent125b191b212325ac8484927f0c31df024e5bb1f2 (diff)
downloadaur-47e11fe0c5534f9a1c5c29cd6b390e8c431a7ac8.tar.gz
Tibia: Fix /usr/bin symlink
Would point to the $pkgdir otherwise
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a02a37ac8271..dea6779b8218 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tibia
pkgdesc = fast-paced free massively multiplayer online role-playing game
pkgver = 11.40.5409
- pkgrel = 1
+ pkgrel = 2
url = http://www.tibia.com
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index f249de46909e..069abac6be74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=tibia
pkgver=11.40.5409
-pkgrel=1
+pkgrel=2
pkgdesc="fast-paced free massively multiplayer online role-playing game"
arch=('x86_64')
url="http://www.tibia.com"
@@ -41,5 +41,6 @@ package() {
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p "${pkgdir}/usr/bin"
- ln -s "${pkgdir}/opt/Tibia/start-tibia.sh" "${pkgdir}/usr/bin/tibia"
+ cd "${pkgdir}/usr/bin/"
+ ln -s "../../opt/Tibia/start-tibia.sh" tibia
}