diff options
author | Thomas Lercher | 2021-08-07 23:37:54 +0200 |
---|---|---|
committer | Thomas Lercher | 2021-08-07 23:37:54 +0200 |
commit | 449b217da7397e2e4fcb124fe86a5ea062703427 (patch) | |
tree | 6ee92973d781ee75dea38fd922980140cc50facb | |
parent | 143362f2307bcd0481ed249f4389a2f2e7d589a7 (diff) | |
download | aur-449b217da7397e2e4fcb124fe86a5ea062703427.tar.gz |
Update Installation Help & add it to PKGBUILD
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | augustus-game.install | 16 |
3 files changed, 17 insertions, 7 deletions
@@ -17,8 +17,7 @@ pkgbase = augustus-game-git source = augustus-game.install source = git+https://github.com/Keriew/augustus sha256sums = 52fd21bbd8a32cee21399c598283dfea11fa507e01e92c8344fb6e021fae0928 - sha256sums = 03467d55f4314a46ad3c8e6b16e689f36772969c42869823c175b01e6f6392c7 + sha256sums = d0d9e1fdfa9edbb22239d55612c8b7ffdb501a1cfebea82cce2ccf4259f867ef sha256sums = SKIP pkgname = augustus-game-git - @@ -4,7 +4,7 @@ _pkgname=augustus pkgname=$_pkgname-game-git pkgdesc="An enhanced re-implementation of Caesar III (Original copy required)" -pkgver=r3127.fe833c2b +pkgver=r3879.e7ef0470 pkgrel=1 arch=('i686' 'x86_64') url="https://github.com/Keriew/augustus" @@ -13,9 +13,10 @@ conflicts=('augustus-game') provides=('augustus-game') makedepends=('git' 'cmake') depends=('sdl2' 'sdl2_mixer' 'libpng') +install="${_pkgname}-game.install" source=($_pkgname-game.desktop $_pkgname-game.install git+https://github.com/Keriew/augustus) sha256sums=('52fd21bbd8a32cee21399c598283dfea11fa507e01e92c8344fb6e021fae0928' - '03467d55f4314a46ad3c8e6b16e689f36772969c42869823c175b01e6f6392c7' + 'd0d9e1fdfa9edbb22239d55612c8b7ffdb501a1cfebea82cce2ccf4259f867ef' 'SKIP') pkgver() { diff --git a/augustus-game.install b/augustus-game.install index 685a0cf01032..8162b824d690 100644 --- a/augustus-game.install +++ b/augustus-game.install @@ -3,14 +3,14 @@ post_install() { echo " augustus also requires additional folders/files to be installed to your Caesar III installation. -The easiest way is to symlink the 'maps' and 'mods' folder from '/opt/augustus-game' +The easiest way is to symlink the 'maps' and 'assets' folder from '/opt/augustus-game' into the root of your Caesar III installation. If you are in your Caesar III installation folder you can copy & paste the following lines to symlink them (depending on your shell): ln -s /opt/augustus-game/res/maps . - ln -s /opt/augustus-game/mods . + ln -s /opt/augustus-game/assets . For further information and how to add high-quality MP3 music/sounds to your installation see: @@ -18,8 +18,18 @@ For further information and how to add high-quality MP3 music/sounds to your ins " } +post_upgrade() { + echo " +Augustus renamed the 'mods' folder to 'assets', please check your Caesar III installation. + +If there is an 'mods' folder, please unlink it and link the assets folder from /opt into it: + + ln -s /opt/augustus-game/assets . +" +} + post_remove() { echo " -Don't forget to remove/unlink the 'maps' and 'mods' folder from your Caesar III installation. +Don't forget to remove/unlink the 'maps' and 'assets' folder from your Caesar III installation. " } |