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-fps/quake1-demodata | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'games-fps/quake1-demodata')
-rw-r--r-- | games-fps/quake1-demodata/Manifest | 2 | ||||
-rw-r--r-- | games-fps/quake1-demodata/quake1-demodata-1.06-r1.ebuild (renamed from games-fps/quake1-demodata/quake1-demodata-1.06.ebuild) | 34 |
2 files changed, 16 insertions, 20 deletions
diff --git a/games-fps/quake1-demodata/Manifest b/games-fps/quake1-demodata/Manifest index 51a46ffe9923..ac8a18ddc980 100644 --- a/games-fps/quake1-demodata/Manifest +++ b/games-fps/quake1-demodata/Manifest @@ -1,3 +1,3 @@ DIST quake106.zip 9094045 BLAKE2B 39d639a7c4daf48bacfed3d8f7488131cabd61eba3d1969b23958f4f35ac7f693a165500a4a1cf2b917bb8d363d360a402c7100ba8f6b7083c7eaba1fe16756a SHA512 8960c48d9c3c8bb142fd812968d29f05304384bd559b5cdb1d2cb8b6faac84d30ebf9cdf5e5e4eb3739907d9b599ca2ba34035647c58a8ed1874bdc7f0b75e1d -EBUILD quake1-demodata-1.06.ebuild 1496 BLAKE2B 7b4c998677e668480227edf95ed1c6779a0cf200159aea09cd1958d3e196076f7222a3dda8160ac730917bb3327e6eacc1cfa3d9029dd613aaf493a42483ef02 SHA512 20ecec2d80baedaf9055ec322a5a60b4d5e85f045b9536e31a06d735211df1f6673eff1a404c805cff2db021dd54161932ba3c574575acde074bf5020df1d1fb +EBUILD quake1-demodata-1.06-r1.ebuild 1416 BLAKE2B 1279acf4fb2a83811da4d8aa4cd8c3b3d575e8a7fe6574ba0b89cba32d2ebf764cfa3d15fe6ea36c562c13a27c02d40aa6c5471edc4b12d61e19fdb37ce4c640 SHA512 9e0029a2692dff154f8c700e8e1bc11fdf6bde6620b41d1f5bc26ed5da4ae6b7ffb8a66ef5fcf0c680f6ad6ed3fb1909ac0ae7b8fee9de4fc4ef219018197ed0 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-fps/quake1-demodata/quake1-demodata-1.06.ebuild b/games-fps/quake1-demodata/quake1-demodata-1.06-r1.ebuild index 102d80da46f6..b5931771e141 100644 --- a/games-fps/quake1-demodata/quake1-demodata-1.06.ebuild +++ b/games-fps/quake1-demodata/quake1-demodata-1.06-r1.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils versionator games +EAPI=7 -MY_PV=$(delete_all_version_separators) +MY_PV=$(ver_rs 1- '') MY_PN="quake" DESCRIPTION="Demo data for Quake 1" HOMEPAGE="https://en.wikipedia.org/wiki/Quake_I" SRC_URI="mirror://idsoftware/${MY_PN}/${MY_PN}${MY_PV}.zip" +S="${WORKDIR}" # See licinfo.txt LICENSE="quake1-demodata" @@ -18,15 +18,14 @@ KEYWORDS="~amd64 ~x86" IUSE="symlink" RDEPEND="symlink? ( !games-fps/quake1-data )" -DEPEND="app-arch/lha - app-arch/unzip" +BDEPEND=" + app-arch/lha + app-arch/unzip +" -S=${WORKDIR} -dir=${GAMES_DATADIR}/${MY_PN}1 +dir=usr/share/${MY_PN}1 pkg_setup() { - games_pkg_setup - if has_version "games-fps/quake1-data" ; then ewarn "games-fps/quake1-data already includes the demo data," ewarn "so this installation is not very useful." @@ -37,31 +36,28 @@ src_unpack() { unpack ${A} # File rename for bug #159100 - mv resource.{1,x} + mv resource.{1,x} || die lha xfq resource.x || die "lha failed" # Don't want to conflict with the cdinstall files - mv id1 demo + mv ID1 demo || die } src_install() { - insinto "${dir}" + insinto ${dir} doins -r demo - dodoc *.txt + dodoc *.TXT if use symlink ; then # Make the demo the default, so that people can just run it, # without having to mess with command-line options. - cd "${D}/${dir}" && ln -sfn demo id1 + cd "${ED}/${dir}" || die + ln -sfn demo id1 || die fi - - prepgamesdirs } pkg_postinst() { - games_pkg_postinst - elog "This is just the demo data." elog "You will still need a Quake 1 client, to play, such as darkplaces." echo |