From d5e2489e19964fedc625837ec9b4a057027f900a Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Tue, 5 Oct 2021 21:29:35 -0400 Subject: games-rpg/runescape-launcher: remanifest again --- games-rpg/runescape-launcher/Manifest | 8 +- .../runescape-launcher-2.2.9-r2.ebuild | 101 --------------------- .../runescape-launcher-2.2.9-r3.ebuild | 101 +++++++++++++++++++++ 3 files changed, 105 insertions(+), 105 deletions(-) delete mode 100644 games-rpg/runescape-launcher/runescape-launcher-2.2.9-r2.ebuild create mode 100644 games-rpg/runescape-launcher/runescape-launcher-2.2.9-r3.ebuild (limited to 'games-rpg') diff --git a/games-rpg/runescape-launcher/Manifest b/games-rpg/runescape-launcher/Manifest index d0c1519..e5d3bbf 100644 --- a/games-rpg/runescape-launcher/Manifest +++ b/games-rpg/runescape-launcher/Manifest @@ -1,4 +1,4 @@ -DIST runescape-launcher_2.2.9_Packages 906 BLAKE2B d67ea3e957cd226de22385c95edcc618ed8a92eb70e9f66a3c0ea4a5cc2403d62a8fd2c47d70ed2218c7a03b195bde2f1a65112bd0e8cf1d8931afc22b4fffa6 SHA512 a4a2550b26a7dd943fccd61b15b1ada6b0ad8be8337675b9df977309b7e80561e5ccc2af9be8a41ebf008a75e4501d8cbb4523a482d013e8ca08f10fee58a40b -DIST runescape-launcher_2.2.9_Release 961 BLAKE2B 3d6cdb8eb32462991712e72438f3a5422ca3213eaa0d539e25c92d0b7d9123621518b82b2e39fd8c1cfe969b230a1cd25d5e688fae858646f799bf231997c864 SHA512 e7f934b7d168043f51b118339759b22199bc16821354ff119ede4ba2f709483d22b7ecbe113b5e3ab5b64186529845d8540fee4a458fb3ecbd7ea6ed01ef1910 -DIST runescape-launcher_2.2.9_Release.gpg 488 BLAKE2B d1bdba9fc3552e680ab13fb22f93e97e658f295e56b1788194ac412e4cf42c25dd83be63ba13df89662825f67cadc5da555df45eb4dca8bc7c2a50bb1a402dbc SHA512 4cee11514d5451f86cb0854370426d1c5dfa02f71ac8525c283a9eead6891bafadde8c1ada41462c33a3ed9685c86e9adcdc89b210145d353421d9d5eecc3d26 -DIST runescape-launcher_2.2.9_amd64.deb 3874760 BLAKE2B f5db69228e497dd8a8e973188b44bbc021b49f0bbf284f351f3d2f159155640cd6f9be20e0498a190c5eb95acccdcef3470222899da7114deb8ced6e2da0710a SHA512 7e09c100e9c2eae59000739c92b76970e9cc9088d5fdc2aa2c7304ab287765d069882174157d1021f605666f7d0ab5bde7f2b67176a4a038323ef44d05425afb +DIST runescape-launcher_2.2.9_Packages 906 BLAKE2B 21618120775dc4dc95fd9ca5cc2fbb2bf7d7333ba5d3b917b12191a5b88012424e2947a7b7623300d67959629bc85b8e58eb2ccf8106a9702a3ea32108c8e74b SHA512 6676ee36bd5206503c8b385e3b62029416bd0cdf057153a7b57d376d096c9eef917428fd435d52704c308710f24ba9ccc9b28e4b94eb6b82a2150f39f7f2e085 +DIST runescape-launcher_2.2.9_Release 961 BLAKE2B 6dc2d40a47a198feb438581b0e571043dccf49e2a265ac87fbbcaab58e3c090c7a49938941bb110b3a04add932316c5afbd32cf75c0678896163837e45ecef78 SHA512 c6b5e363d0a307f463e7b837b58121d8d3e6fa3dff0021a3998a947042cfd82a0d1f71da186eb09f247293b6c4b1bdc4a111a1ed1a702ed6ff27236e84cd0696 +DIST runescape-launcher_2.2.9_Release.gpg 488 BLAKE2B 8d2e18383d45803e8aa128a3a7f78bf087a8be4adccda94d9045eaab7269ea2a88414f598d43d307a701db9a82324f8ff023a41e0a3adbdeb7747484b271dea9 SHA512 01424a2e624d1bf4a3f0f2b57706170d2d44f5373cbca42e10a2d78d587246157f7665a9b12a2e9befc9322c417c3ab7ca877a7d831bbd6904797c12682d02aa +DIST runescape-launcher_2.2.9_amd64.deb 3877472 BLAKE2B 86733c5ee0c34a64cd2845ed4c6378ad66f6732253742c8d77d64bdb5bd4ea23351b6c918b31a2ff9c80f3ed4fb01c9046514e0ccdefd5a9228a3652b6e2b9f5 SHA512 7a3b596355811fbf35ce684de06de4ad7e219a20e36b51d9efc934e874874b287c03471e01b5bb59aa89e9038d40484eee6dc5cc7e63147117b7f6c864698ef3 diff --git a/games-rpg/runescape-launcher/runescape-launcher-2.2.9-r2.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.9-r2.ebuild deleted file mode 100644 index 9362aea..0000000 --- a/games-rpg/runescape-launcher/runescape-launcher-2.2.9-r2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit unpacker verify-sig xdg - -DESCRIPTION="Official RuneScape NXT client launcher" -HOMEPAGE="http://www.runescape.com" -SRC_URI="https://content.runescape.com/downloads/ubuntu/pool/non-free/${PN:0:1}/${PN}/${PN}_${PV}_amd64.deb - verify-sig? ( - https://content.runescape.com/downloads/ubuntu/dists/trusty/Release -> ${PN}_${PV}_Release - https://content.runescape.com/downloads/ubuntu/dists/trusty/Release.gpg -> ${PN}_${PV}_Release.gpg - https://content.runescape.com/downloads/ubuntu/dists/trusty/non-free/binary-amd64/Packages -> ${PN}_${PV}_Packages - ) -" - -LICENSE="RuneScape-EULA" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="kde" - -DEPEND="" -RDEPEND=" - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - sys-libs/libcap - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXxf86vm - dev-libs/openssl - x11-libs/pango - media-libs/libsdl2" -BDEPEND=" - verify-sig? ( app-crypt/openpgp-keys-runescape ) -" - -RESTRICT="bindist mirror strip" -QA_PREBUILT="/usr/share/games/runescape-launcher/runescape" - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/runescape.gpg.key - -S="${WORKDIR}" - -src_unpack() { - if use verify-sig; then - local Release=${DISTDIR}/${PN}_${PV}_Release - local Packages=${DISTDIR}/${PN}_${PV}_Packages - local debfile=${DISTDIR}/${PN}_${PV}_amd64.deb - local _out - - einfo "Verifying 'Release' file (PGP)..." - - verify-sig_verify_detached "$Release"{,.gpg} - - einfo "Parsing 'Release' file..." - - _out=$(awk 'ok && $3 == "non-free/binary-amd64/Packages" {print $1; exit} - /^[^[:space:]]/ {ok=0} - /^SHA256:$/ {ok=1}' < "$Release") - if ! [[ $_out =~ ^[0-9a-f]{64}$ ]]; then - die "Could not find hash of 'non-free/binary-amd64/Packages' in the 'Release' file" - fi - - einfo "Verifying 'Packages' file (SHA256)..." - - if ! sha256sum --quiet --check <<< "$_out *$Packages"; then - die "Hash sum of 'Packages' did not match expected" - fi - - einfo "Parsing 'Packages' file..." - - _out=$(awk 'ok && /^SHA256:/ {print $2; exit} - /^Package:/ {ok=0} - /^Package: runescape-launcher$/ {ok=1}' < "$Packages") - if ! [[ $_out =~ ^[0-9a-f]{64}$ ]]; then - die "Could not find hash of '$debfile' in the 'Packages' file" - fi - - einfo "Verifying '$debfile' (SHA256)..." - - if ! sha256sum --quiet --check <<< "$_out *$debfile"; then - die "Hash sum of '$debfile' did not match expected" - fi - fi - unpacker ${PN}_${PV}_amd64.deb -} - -src_compile() { - mv usr/share/doc . || die - gunzip doc/runescape-launcher/changelog.gz || die - if ! use kde; then - rm -r usr/share/kde4 || die - fi -} - -src_install() { - doins -r usr - dodoc doc/runescape-launcher/* -} diff --git a/games-rpg/runescape-launcher/runescape-launcher-2.2.9-r3.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.9-r3.ebuild new file mode 100644 index 0000000..9362aea --- /dev/null +++ b/games-rpg/runescape-launcher/runescape-launcher-2.2.9-r3.ebuild @@ -0,0 +1,101 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker verify-sig xdg + +DESCRIPTION="Official RuneScape NXT client launcher" +HOMEPAGE="http://www.runescape.com" +SRC_URI="https://content.runescape.com/downloads/ubuntu/pool/non-free/${PN:0:1}/${PN}/${PN}_${PV}_amd64.deb + verify-sig? ( + https://content.runescape.com/downloads/ubuntu/dists/trusty/Release -> ${PN}_${PV}_Release + https://content.runescape.com/downloads/ubuntu/dists/trusty/Release.gpg -> ${PN}_${PV}_Release.gpg + https://content.runescape.com/downloads/ubuntu/dists/trusty/non-free/binary-amd64/Packages -> ${PN}_${PV}_Packages + ) +" + +LICENSE="RuneScape-EULA" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="kde" + +DEPEND="" +RDEPEND=" + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + sys-libs/libcap + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXxf86vm + dev-libs/openssl + x11-libs/pango + media-libs/libsdl2" +BDEPEND=" + verify-sig? ( app-crypt/openpgp-keys-runescape ) +" + +RESTRICT="bindist mirror strip" +QA_PREBUILT="/usr/share/games/runescape-launcher/runescape" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/runescape.gpg.key + +S="${WORKDIR}" + +src_unpack() { + if use verify-sig; then + local Release=${DISTDIR}/${PN}_${PV}_Release + local Packages=${DISTDIR}/${PN}_${PV}_Packages + local debfile=${DISTDIR}/${PN}_${PV}_amd64.deb + local _out + + einfo "Verifying 'Release' file (PGP)..." + + verify-sig_verify_detached "$Release"{,.gpg} + + einfo "Parsing 'Release' file..." + + _out=$(awk 'ok && $3 == "non-free/binary-amd64/Packages" {print $1; exit} + /^[^[:space:]]/ {ok=0} + /^SHA256:$/ {ok=1}' < "$Release") + if ! [[ $_out =~ ^[0-9a-f]{64}$ ]]; then + die "Could not find hash of 'non-free/binary-amd64/Packages' in the 'Release' file" + fi + + einfo "Verifying 'Packages' file (SHA256)..." + + if ! sha256sum --quiet --check <<< "$_out *$Packages"; then + die "Hash sum of 'Packages' did not match expected" + fi + + einfo "Parsing 'Packages' file..." + + _out=$(awk 'ok && /^SHA256:/ {print $2; exit} + /^Package:/ {ok=0} + /^Package: runescape-launcher$/ {ok=1}' < "$Packages") + if ! [[ $_out =~ ^[0-9a-f]{64}$ ]]; then + die "Could not find hash of '$debfile' in the 'Packages' file" + fi + + einfo "Verifying '$debfile' (SHA256)..." + + if ! sha256sum --quiet --check <<< "$_out *$debfile"; then + die "Hash sum of '$debfile' did not match expected" + fi + fi + unpacker ${PN}_${PV}_amd64.deb +} + +src_compile() { + mv usr/share/doc . || die + gunzip doc/runescape-launcher/changelog.gz || die + if ! use kde; then + rm -r usr/share/kde4 || die + fi +} + +src_install() { + doins -r usr + dodoc doc/runescape-launcher/* +} -- cgit v1.2.3-70-g09d2