summaryrefslogtreecommitdiff
path: root/games-rpg/zsdx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-rpg/zsdx
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-rpg/zsdx')
-rw-r--r--games-rpg/zsdx/Manifest2
-rw-r--r--games-rpg/zsdx/zsdx-1.9.0-r1.ebuild (renamed from games-rpg/zsdx/zsdx-1.9.0.ebuild)34
2 files changed, 12 insertions, 24 deletions
diff --git a/games-rpg/zsdx/Manifest b/games-rpg/zsdx/Manifest
index 9e1275e41c8f..e486a3865c69 100644
--- a/games-rpg/zsdx/Manifest
+++ b/games-rpg/zsdx/Manifest
@@ -1,3 +1,3 @@
DIST zsdx-1.9.0.tar.gz 20757184 BLAKE2B 392aa36cfddaa82367cd3aa6769ffeb95f5e7235b5574d2793af629f289da107a67b70bfc2ad7d86651d2145a3f956bc000102919ca65ee18a1d83eac282d119 SHA512 2fc540d19856734050674945dd4903f254b325cab08ae0199722ae014447523ad9e979b54ddfd59d5cbc290b783481c79d5e155115c90f24feab5587d52804ee
-EBUILD zsdx-1.9.0.ebuild 1334 BLAKE2B 5b50175f88c40dfbdd4ae860fe11c1548a81fdd73561c7b0b69a235682d7fb65ca3850b1a2d8909182179faf6b739b5d41fb046dfc4c0977e6584763900ed2ee SHA512 bab8614ec327a380b3d7206bbe9448986010081a7e7cec8f8cca693a2f375e5c070c6bc49458abff0badfc7c2075c84ebf8870e17126e6ff9fc4964f81e2bf4f
+EBUILD zsdx-1.9.0-r1.ebuild 1130 BLAKE2B 24034d6b972196710ca4d9921c941bc661e0c05ece6dc5680e181ef884d225c1c1694843131c9c2cd2c0ebc792052d2e4dcb96d828fca5d6296ceff3427a5115 SHA512 29d003036632b3ac85d49db00ba01667ec31e20400d99bb49a67c6bb0743edf9ccac64972556b0b492ce064216d6e47d64b9f3b68948a39d3c1fcbb21ad62735
MISC metadata.xml 333 BLAKE2B 34c8b3d3b3ef4c78241d40bd05613959e3d541561f6973c47c57489b0eea0e84ef21909fcb21102bdb4b5eaf0b8051c075a9649fe0975ead3c4cd1ff4c1471f7 SHA512 8135204b08f68188a8dc178b3083600e01a860b043cbc26415a111f6b23030cc067754dff74d77ac476e757caece3d44688f12126e81c17eaff74e4840f59ec9
diff --git a/games-rpg/zsdx/zsdx-1.9.0.ebuild b/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild
index f77a8c06fcca..dc00fda49542 100644
--- a/games-rpg/zsdx/zsdx-1.9.0.ebuild
+++ b/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit cmake-utils gnome2-utils games
+EAPI=6
+inherit cmake-utils eutils gnome2-utils
DESCRIPTION="A free 2D Zelda fangame"
HOMEPAGE="http://www.solarus-games.org/"
@@ -15,48 +14,37 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror"
-RDEPEND=">=games-engines/solarus-1.3.0
- <games-engines/solarus-1.4.0"
+RDEPEND="
+ >=games-engines/solarus-1.3.0
+ <games-engines/solarus-1.4.0
+"
DEPEND="app-arch/zip"
-DOCS=( ChangeLog readme.txt )
-
-src_prepare() {
- cmake-utils_src_prepare
-}
-
src_configure() {
local mycmakeargs=(
- -DSOLARUS_INSTALL_DATAROOTDIR="${GAMES_DATADIR}"
- -DSOLARUS_INSTALL_BINDIR="${GAMES_BINDIR}"
+ -DSOLARUS_INSTALL_DATAROOTDIR="/usr/share"
+ -DSOLARUS_INSTALL_BINDIR="/usr/bin"
)
cmake-utils_src_configure
}
-src_compile() {
- cmake-utils_src_compile
-}
-
src_install() {
cmake-utils_src_install
newicon -s 48 build/icons/${PN}_icon_48.png ${PN}.png
newicon -s 256 build/icons/${PN}_icon_256.png ${PN}.png
# install proper wrapper script
- rm -f "${ED%/}${GAMES_BINDIR}"/${PN}
- games_make_wrapper ${PN} "solarus \"${GAMES_DATADIR}/solarus/${PN}\""
+ rm -f "${ED}"/usr/bin/${PN}
+ make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\""
make_desktop_entry "${PN}" "Zelda: Mystery of Solarus DX"
- prepgamesdirs
}
pkg_preinst() {
- games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
- games_pkg_postinst
gnome2_icon_cache_update
}