commit: b9e7e3755e2c6faf6a583bc51c02f7302ed3b027
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Tue Mar 3 23:00:44 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Tue Mar 3 23:00:44 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=b9e7e375
games-strategy/uplink: update package
Migrate from deprecated eclass.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
games-strategy/uplink/metadata.xml | 4 ++++
.../{uplink-1.6.ebuild => uplink-1.6-r1.ebuild} | 21 +++++++++++----------
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/games-strategy/uplink/metadata.xml
b/games-strategy/uplink/metadata.xml
new file mode 100644
index 0000000..097975e
--- /dev/null
+++ b/games-strategy/uplink/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/games-strategy/uplink/uplink-1.6.ebuild
b/games-strategy/uplink/uplink-1.6-r1.ebuild
similarity index 80%
rename from games-strategy/uplink/uplink-1.6.ebuild
rename to games-strategy/uplink/uplink-1.6-r1.ebuild
index 66309f2..c8c2be7 100644
--- a/games-strategy/uplink/uplink-1.6.ebuild
+++ b/games-strategy/uplink/uplink-1.6-r1.ebuild
@@ -1,6 +1,9 @@
-EAPI=5
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
-inherit games
+EAPI=7
+
+inherit desktop eutils
MY_P="${PN}_${PV}-1"
@@ -11,11 +14,11 @@ SRC_URI="amd64? ( ${MY_P}_amd64.tar.gz )
RESTRICT="fetch"
# Bundled libs :(
-QA_PRESTRIPPED="${GAMES_PREFIX_OPT}/${PN}/lib.*"
+QA_PRESTRIPPED="/opt/${PN}/lib.*"
-LICENSE="introversion"
+LICENSE="all-rights-reserved"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="-* ~amd64 ~x86"
IUSE=""
DEPEND=""
@@ -33,7 +36,7 @@ pkg_nofetch() {
src_unpack() {
local root
- unpack "${A}"
+ unpack ${A}
if use amd64; then
root=uplink-x64
@@ -49,7 +52,7 @@ src_unpack() {
S="${WORKDIR}/${PN}"
src_install() {
- local dir="${GAMES_PREFIX_OPT}/${PN}"
+ local dir="/opt/${PN}"
local exe lib
insinto "${dir}"
@@ -77,9 +80,7 @@ src_install() {
doicon uplink.png
make_desktop_entry "${PN}" Uplink uplink
- games_make_wrapper "${PN}" "${dir}/$exe"
+ make_wrapper "${PN}" "${dir}/$exe"
dodoc changes.txt mods.txt readme.txt
-
- prepgamesdirs
}