commit:     5d000297c845516fc46dfe1354ea6960d3264e8f
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Feb  6 17:55:12 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Feb  6 17:55:12 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=5d000297

games-arcade/VVVVVV: update to opensourced version

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 games-arcade/VVVVVV/VVVVVV-2.01.ebuild           | 47 ------------------------
 games-arcade/VVVVVV/VVVVVV-2.02_p20200206.ebuild | 33 +++++++++++++++++
 2 files changed, 33 insertions(+), 47 deletions(-)

diff --git a/games-arcade/VVVVVV/VVVVVV-2.01.ebuild 
b/games-arcade/VVVVVV/VVVVVV-2.01.ebuild
deleted file mode 100644
index 72af440..0000000
--- a/games-arcade/VVVVVV/VVVVVV-2.01.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit games
-
-DESCRIPTION="Retro-styled open-world 2D puzzle platformer"
-HOMEPAGE="http://thelettervsixtim.es/";
-SRC_URI="${PN}_${PV}_Linux.tar.gz"
-
-LICENSE="EULA"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-RESTRICT="fetch strip"
-IUSE=""
-
-DEPEND=""
-RDEPEND="
-               media-libs/sdl-mixer
-               media-libs/sdl-image:0
-               media-libs/libsdl:0
-               "
-
-S="${WORKDIR}/${PN}"
-
-src_install() {
-       local dir="${GAMES_PREFIX_OPT}/${PN}"
-       if use amd64 ; then
-               local exe="${PN}_64"
-       else
-               local exe="${PN}_32"
-       fi
-
-       insinto "${dir}"
-       exeinto "${dir}"
-       doexe "$exe"
-       newicon -s 32 "data/icons/32_2.png" "${PN}.png"
-       newicon -s 16 "data/icons/16.png" "${PN}.png"
-       doins -r data
-
-       games_make_wrapper "${PN}" "./${exe}" "${dir}"
-       make_desktop_entry "${PN}" "${PN}" "${PN}"
-
-       prepgamesdirs
-}

diff --git a/games-arcade/VVVVVV/VVVVVV-2.02_p20200206.ebuild 
b/games-arcade/VVVVVV/VVVVVV-2.02_p20200206.ebuild
new file mode 100644
index 0000000..0bc68c4
--- /dev/null
+++ b/games-arcade/VVVVVV/VVVVVV-2.02_p20200206.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake desktop git-r3
+
+DESCRIPTION="Retro-styled open-world 2D puzzle platformer"
+HOMEPAGE="https://thelettervsixtim.es/";
+
+EGIT_REPO_URI="https://github.com/TerryCavanagh/VVVVVV";
+EGIT_COMMIT="4e378b6057cca8e994b5b3049ff8b0cdadf1ebd9"
+
+SRC_URI="https://thelettervsixtim.es/makeandplay/data.zip -> ${PN}-data.zip"
+
+RESTRICT="mirror"
+LICENSE="VVVVVV-License-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/libsdl2
+       media-libs/sdl2-mixer"
+RDEPEND="${DEPEND}"
+
+CMAKE_USE_DIR="${S}/desktop_version"
+
+src_install() {
+       exeinto /opt/${PN}
+       doexe "${BUILD_DIR}/${PN}"
+       insinto /opt/${PN}
+       newins "${DISTDIR}/${PN}-data.zip" data.zip
+       make_wrapper "${PN}" "./${PN}" "/opt/${PN}"
+       dodoc README.md
+}

Reply via email to