diff options
author | Sandy Carter | 2018-01-20 11:03:14 -0800 |
---|---|---|
committer | Sandy Carter | 2018-01-20 11:03:14 -0800 |
commit | a93d223f853e2b675c61aaf2de6111c386be60b5 (patch) | |
tree | 7406a463704bc70c1b0bf2eab97df310674eb5dd | |
parent | 17dff0f0aa91896ff06f09ba0d99c259087e51d2 (diff) | |
download | aur-a93d223f853e2b675c61aaf2de6111c386be60b5.tar.gz |
Fix paths of installed packages
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Jan 20 18:48:09 UTC 2018 +# Sat Jan 20 19:02:54 UTC 2018 pkgbase = gog-heroes-of-might-and-magic-3-complete-edition pkgdesc = Heroes of Might & Magic III and its expansions: Armageddon's Blade and The Shadow of Death (with optional HD patch) pkgver = 4.0.10665 - pkgrel = 1 + pkgrel = 2 url = https://www.gog.com/game/heroes_of_might_and_magic_3_complete_edition arch = i686 arch = x86_64 @@ -1,6 +1,6 @@ pkgname=gog-heroes-of-might-and-magic-3-complete-edition pkgver=4.0.10665 -pkgrel=1 +pkgrel=2 _gamename=${pkgname#gog-} _gamename=${_gamename//-/_} _gamehdpatchname="HoMM3%20HD%20Latest.exe" @@ -52,12 +52,12 @@ package() { install -Dm644 ${srcdir}/local_machine.reg ${pkgdir}/usr/share/${pkgname}/local_machine.reg # Install license - install -Dm644 "${srcdir}/tmp/env/drive_c/GOG Games/homm 3 complete/EULA.txt" "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 "${srcdir}/tmp/env/drive_c/GOG Games/HoMM 3 Complete/EULA.txt" "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE # Install game install -m755 -d "${pkgdir}"/opt/gog/ # mv instead of cp to save disk space - mv "${srcdir}/tmp/env/drive_c/GOG Games/homm 3 complete" ${pkgdir}/opt/gog/${pkgname#gog-} + mv "${srcdir}/tmp/env/drive_c/GOG Games/HoMM 3 Complete" ${pkgdir}/opt/gog/${pkgname#gog-} # Remove unneeded files rm -rf ${pkgdir}/opt/gog/${pkgname#gog-}/unins* rm -rf ${pkgdir}/opt/gog/${pkgname#gog-}/*.lnk |