diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /games-strategy/ja2-stracciatella-data | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'games-strategy/ja2-stracciatella-data')
-rw-r--r-- | games-strategy/ja2-stracciatella-data/Manifest | 2 | ||||
-rw-r--r-- | games-strategy/ja2-stracciatella-data/ja2-stracciatella-data-1-r1.ebuild (renamed from games-strategy/ja2-stracciatella-data/ja2-stracciatella-data-1.ebuild) | 29 |
2 files changed, 14 insertions, 17 deletions
diff --git a/games-strategy/ja2-stracciatella-data/Manifest b/games-strategy/ja2-stracciatella-data/Manifest index 8addf31b54bb..d41044e54b55 100644 --- a/games-strategy/ja2-stracciatella-data/Manifest +++ b/games-strategy/ja2-stracciatella-data/Manifest @@ -1,2 +1,2 @@ -EBUILD ja2-stracciatella-data-1.ebuild 1317 BLAKE2B 3e0d23809ea2608b60627f739f94b7c02c3ae342ce99d25433de5fa2a31ee49556a9a97c3e967971f79fac304ca01dbf87185669ddd6a890a2a34e9c2da307b3 SHA512 b99aa7cd634b5f42a5ac807133e13918ec0029525c9224c17acb7fd29b0c854e7591a36d820b82570afd20d37dac3c9443f990ba6691eac823280bc65f02fcd7 +EBUILD ja2-stracciatella-data-1-r1.ebuild 1268 BLAKE2B 5542562c7121acfbd99d2cc9e22f778e4dd58a7b1612909a36b84762196fd786b358eecd76fc66fb2531ec02d6d829a88b59a25b250031b17e0ed41d54210db9 SHA512 c7a702983acd39dc9b71bb2f3c9d7ec9ee17a0ef546fead8f98a6df795492e72a4d494d577e996b903e64ebd46b742e622895fa0536d328faf5b71f970760872 MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 diff --git a/games-strategy/ja2-stracciatella-data/ja2-stracciatella-data-1.ebuild b/games-strategy/ja2-stracciatella-data/ja2-stracciatella-data-1-r1.ebuild index 8b035b0ff0ad..ccf6a75a48a4 100644 --- a/games-strategy/ja2-stracciatella-data/ja2-stracciatella-data-1.ebuild +++ b/games-strategy/ja2-stracciatella-data/ja2-stracciatella-data-1-r1.ebuild @@ -1,24 +1,21 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit cdrom check-reqs games +EAPI=7 + +CHECKREQS_DISK_BUILD="3G" +CHECKREQS_DISK_USR="1G" +inherit cdrom check-reqs DESCRIPTION="A port of Jagged Alliance 2 to SDL (data files)" HOMEPAGE="http://tron.homeunix.org/ja2/" -SRC_URI="" +S="${WORKDIR}" LICENSE="SIR-TECH" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="" - -DEPEND="app-arch/unshield" - -S=${WORKDIR} -CHECKREQS_DISK_BUILD="3G" -CHECKREQS_DISK_USR="1G" +BDEPEND="app-arch/unshield" src_unpack() { export CDROM_NAME="INSTALL_CD" @@ -31,8 +28,10 @@ src_unpack() { src_prepare() { cd "${S}"/Ja2_Files/Data || die - local lower i + default + + local lower i # convert to lowercase find . \( -iname "*.jsd" -o -iname "*.wav" -o -iname "*.sti" -o -iname "*.slf" \) \ -exec sh -c 'echo "${1}" @@ -41,17 +40,15 @@ src_prepare() { [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \; # remove possible leftover - rm -r ./TILECACHE ./STSOUNDS + rm -r ./TILECACHE ./STSOUNDS || die } src_install() { - insinto "${GAMES_DATADIR}"/ja2/data + insinto /usr/share/ja2/data doins -r "${S}"/Ja2_Files/Data/* - prepgamesdirs } pkg_postinst() { - games_pkg_postinst elog "This is just the data portion of the game. You will need to install" elog "games-strategy/ja2-stracciatella to play the game." } |