diff options
author | felics | 2018-09-19 15:19:17 +0200 |
---|---|---|
committer | felics | 2018-09-19 15:19:17 +0200 |
commit | 6424447708caf10a0ec4b8ff60f37d08562135ca (patch) | |
tree | bc272ca9ee02e38ba95b422f5739e74efd600682 | |
parent | 585e1ea72218a0430b69c4cc3d2a328e4474cfcd (diff) | |
download | aur-6424447708caf10a0ec4b8ff60f37d08562135ca.tar.gz |
Added symlinks of the maps to widelands maps directory, in order to be able to play the mas with widelands.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 12 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = siedler2-data pkgdesc = Game data files and manual of Blue Byte's 'Siedler II'/'Settlers II' to be used with 'Return to the Roots'. pkgver = venividivici_gold - pkgrel = 3 + pkgrel = 4 url = http://archive.org/details/die_siedler_2_151 arch = any license = unknown: proprietary @@ -16,7 +16,9 @@ pkgbase = siedler2-data pkgname = siedler2-data pkgdesc = Game data files of Blue Byte's 'Siedler II'/'Settlers II' to be used with 'Return to the Roots'. optdepends = return-to-the-roots: To play the game. + optdepends = widelands: To play the maps with widelands. optdepends = siedler2-doc: The original Blue Byte manual. + provides = widelands-maps-settlers2 pkgname = siedler2-doc pkgdesc = Manual for Blue Byte's 'Siedler II'/'Settlers II'. @@ -9,7 +9,7 @@ pkgdesc="Game data files and manual of Blue Byte's 'Siedler II'/'Settlers II' to url='http://archive.org/details/die_siedler_2_151' arch=('any') pkgver='venividivici_gold' -pkgrel=3 +pkgrel=4 license=('unknown: proprietary') options+=('emptydirs') @@ -30,14 +30,22 @@ package_siedler2-data() { pkgdesc="Game data files of Blue Byte's 'Siedler II'/'Settlers II' to be used with 'Return to the Roots'." optdepends+=( "return-to-the-roots: To play the game." + "widelands: To play the maps with widelands." "siedler2-doc: The original Blue Byte manual." ) + provides=( + "widelands-maps-settlers2" + ) cd "${srcdir}" install -v -m 755 -d "${pkgdir}/usr/share/s25rttr/S2" cp -av "${srcdir}"/{DATA,GFX} "${pkgdir}/usr/share/s25rttr/S2"/ chmod -R a+Xr "${pkgdir}/usr/share/s25rttr/S2"/* + install -v -m755 -d "${pkgdir}/usr/share/widelands/maps/settlers2" + cd "${pkgdir}/usr/share/widelands/maps/settlers2" + ln -sv /usr/share/s25rttr/S2/DATA/MAPS* . + install -v -D -m644 "${srcdir}/license-note.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license-note.txt" } |