commit: 844c04d8878bfc91dd3694328343eaa8ddbbaddc
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 10:44:38 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 10:44:38 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=844c04d8
games-puzzle/cubosphere: update package
Migrage from deprecated eclass.
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
...{cubosphere-0.3.ebuild => cubosphere-0.3a.ebuild} | 20 ++++++++++----------
games-puzzle/cubosphere/metadata.xml | 6 ++++++
2 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/games-puzzle/cubosphere/cubosphere-0.3.ebuild
b/games-puzzle/cubosphere/cubosphere-0.3a.ebuild
similarity index 56%
rename from games-puzzle/cubosphere/cubosphere-0.3.ebuild
rename to games-puzzle/cubosphere/cubosphere-0.3a.ebuild
index 1384b66..da7ac6f 100644
--- a/games-puzzle/cubosphere/cubosphere-0.3.ebuild
+++ b/games-puzzle/cubosphere/cubosphere-0.3a.ebuild
@@ -1,37 +1,37 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: games-puzzle/cubosphere/cubosphere.ebuild frostwork Exp $
-EAPI="3"
+EAPI=7
-inherit eutils games flag-o-matic
+#inherit eutils
DESCRIPTION="game similar to the PSX game Kula World / Roll Away"
HOMEPAGE="http://cubosphere.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_beta${PV}_linux_src.tar.gz"
+SRC_URI="https://download.sourceforge.net/${PN}/${PN}_beta${PV}_linux_src.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="dev-lang/lua
+DEPEND="dev-lang/lua:0
virtual/jpeg
media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-ttf
- media-libs/glew
+ media-libs/glew:0
virtual/opengl
virtual/glu"
+RDEPEND="${DEPEND}"
S="${WORKDIR}"/"${PN}"_beta"${PV}"/src
src_prepare() {
- cd "${S}"
+ default
# respect ${GAMES_DATADIR}
sed -i -e "s:llua5.1:llua:g" -i Makefile
sed -i -e "s:PREFIX=/usr/local":PREFIX=/usr":g" -i Makefile
- sed -i -e "s:BINDIR=\$(PREFIX)/bin:BINDIR=\$(PREFIX)/games/bin:g" -i
Makefile
- sed -i -e
"s:DATADIR=\$(PREFIX)/share/cubosphere:DATADIR="${GAMES_DATADIR}"/"${PN}":g" -i
Makefile
+# sed -i -e "s:BINDIR=\$(PREFIX)/bin:BINDIR=\$(PREFIX)/games/bin:g" -i
Makefile
+# sed -i -e
"s:DATADIR=\$(PREFIX)/share/cubosphere:DATADIR="${GAMES_DATADIR}"/"${PN}":g" -i
Makefile
sed -i -e "s:install\: all:install\::g" -i Makefile
}
diff --git a/games-puzzle/cubosphere/metadata.xml
b/games-puzzle/cubosphere/metadata.xml
new file mode 100644
index 0000000..f3b74e3
--- /dev/null
+++ b/games-puzzle/cubosphere/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>