diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-02-29 14:19:29 +0300 |
---|---|---|
committer | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-02-29 14:19:29 +0300 |
commit | 004c4a9de6a2958c45bda2e6684f114949686183 (patch) | |
tree | a66484cf69fde64b4f886b4abcc667ce1844685c /games-puzzle | |
parent | games-puzzle/offspringfling: remove package (diff) | |
download | gamerlay-004c4a9de6a2958c45bda2e6684f114949686183.tar.gz gamerlay-004c4a9de6a2958c45bda2e6684f114949686183.tar.bz2 gamerlay-004c4a9de6a2958c45bda2e6684f114949686183.zip |
games-puzzle/osmos: update package
Migrate from deprecated eclass.
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/osmos/metadata.xml | 3 | ||||
-rw-r--r-- | games-puzzle/osmos/osmos-1.6.1-r1.ebuild (renamed from games-puzzle/osmos/osmos-1.6.1.ebuild) | 22 |
2 files changed, 9 insertions, 16 deletions
diff --git a/games-puzzle/osmos/metadata.xml b/games-puzzle/osmos/metadata.xml index 974ec88..46b0991 100644 --- a/games-puzzle/osmos/metadata.xml +++ b/games-puzzle/osmos/metadata.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>gamerboys</herd> -<maintainer> +<maintainer type="person"> <email>azamat.hackimov@gmail.com</email> <name>Azamat H. Hackimov</name> </maintainer> diff --git a/games-puzzle/osmos/osmos-1.6.1.ebuild b/games-puzzle/osmos/osmos-1.6.1-r1.ebuild index fafe623..0cdaa35 100644 --- a/games-puzzle/osmos/osmos-1.6.1.ebuild +++ b/games-puzzle/osmos/osmos-1.6.1-r1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI=5 +EAPI=7 -inherit eutils games +inherit desktop eutils MY_PN="Osmos" MY_P="${MY_PN}_${PV}" @@ -18,7 +17,6 @@ SLOT="0" KEYWORDS="-* ~amd64 ~x86" IUSE="" RESTRICT="fetch strip" -PROPERTIES="interactive" RDEPEND=" virtual/opengl @@ -33,14 +31,12 @@ DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_PN}" -GAMES_CHECK_LICENSE="yes" - pkg_nofetch() { einfo "Please download ${MY_P}.tar.gz and place it into ${DISTDIR}" } src_install() { - local GAMEDIR="${GAMES_PREFIX_OPT}/${PN}" + local dir="/opt/${PN}" local exe if use amd64 ; then @@ -50,17 +46,15 @@ src_install() { exe="${MY_PN}.bin32" fi - exeinto "${GAMEDIR}" + exeinto "${dir}" doexe "${exe}" || die "doexe" - dohtml readme.html - insinto "${GAMEDIR}" + dodoc readme.html + insinto "${dir}" doins -r Fonts/ Sounds/ Textures/ Osmos-* *.cfg || die "doins failed" newicon "Icons/256x256.png" "${PN}.png" - games_make_wrapper "${PN}" "./${exe}" "${GAMEDIR}" + make_wrapper "${PN}" "./${exe}" "${dir}" make_desktop_entry "${PN}" "Osmos" - - prepgamesdirs } |