games-rpg/runescape-launcher: Remove last-rited pkg

Closes: https://bugs.gentoo.org/625884
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-10-31 16:33:28 +01:00
parent 64f9c85e8f
commit f03ba2029f
4 changed files with 0 additions and 98 deletions

View File

@@ -1 +0,0 @@
DIST runescape-launcher_2.2.4_amd64.deb 3014372 BLAKE2B 9ac215ff5f4b50a432fe14924d9bd7b8891d488cac05c6e2e657b97df68446e3d6a71c5c8330ff2ee995eddbfa63f885915a0c26413546845edeb219c2e56ac4 SHA512 47a3d757f2719474767ba95346f7e2d51a41612c8287656e78a958c68f62a26abcffc187b21d6cb7584bc94b2b5583d55dde4f27cfc18174e917864a7002c518

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>jscinoz@jscinoz.so</email>
<name>Jack Coulter</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,83 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit unpacker xdg gnome2-utils
DESCRIPTION="Official RuneScape NXT client launcher"
HOMEPAGE="http://www.runescape.com"
SRC_URI="http://content.runescape.com/downloads/ubuntu/pool/non-free/r/${PN}/${PN}_${PV}_amd64.deb"
QA_PREBUILT="/opt/runescape-launcher/runescape"
SLOT="0"
IUSE="kde"
KEYWORDS="-* ~amd64"
LICENSE="RuneScape-EULA"
RESTRICT="bindist mirror strip"
S="${WORKDIR}"
RDEPEND="
media-libs/libpng:1.2
>=media-libs/libsdl2-2.0.2
media-libs/glew:1.10
>=media-libs/libvorbis-1.3.2
>=net-misc/curl-7.35.0
"
DEPEND=""
src_prepare() {
# Fix path in launcher script
sed -i "s:/usr/share/games/$PN:/opt/$PN:" usr/bin/$PN || die
# Add missing trailing semicolon to .desktop MimeType entry
sed -i '/MimeType=/{/;$/!{s/$/;/}}' usr/share/applications/${PN}.desktop || die
# Fix path to launcher script
sed -i "s:/usr/bin/$PN:/opt/bin/$PN:" usr/share/applications/${PN}.desktop || die
xdg_src_prepare
eapply_user
}
src_install() {
into /opt
dobin usr/bin/$PN
dodoc usr/share/doc/$PN/*
exeinto /opt/$PN
doexe usr/share/games/$PN/runescape
insinto /usr/share/applications
doins usr/share/applications/${PN}.desktop
insinto /usr/share/icons
doins -r usr/share/icons/hicolor
if use kde ; then
insinto /usr/share/kde4
doins -r usr/share/kde4/services
fi
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_icon_cache_update
}

View File

@@ -501,11 +501,9 @@ sys-libs/libstdc++-v3-bin
# All of the following packages are unfetchable and mirror-restricted.
#
# games-fps/enemy-territory-etpro: #638092
# games-rpg/runescape-launcher: #625884
#
# Removal in 30 days.
games-fps/enemy-territory-etpro
games-rpg/runescape-launcher
# Stefan Strogin <steils@gentoo.org> (2019-09-27)
# Requires >=dev-lang/lua-5.3 which is masked