diff options
author | Narrat | 2017-07-25 19:52:25 +0200 |
---|---|---|
committer | Narrat | 2017-07-25 19:52:25 +0200 |
commit | 47e11fe0c5534f9a1c5c29cd6b390e8c431a7ac8 (patch) | |
tree | 522df840912b1223cfadee78a9fd4d5abd46c517 | |
parent | 125b191b212325ac8484927f0c31df024e5bb1f2 (diff) | |
download | aur-47e11fe0c5534f9a1c5c29cd6b390e8c431a7ac8.tar.gz |
Tibia: Fix /usr/bin symlink
Would point to the $pkgdir otherwise
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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 } |