diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-01 01:11:32 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-01 02:03:39 +0200 |
commit | e0078976f674e5584e44b6a470191a048f1c59d6 (patch) | |
tree | ebbcfeacb6bfee585ec8b49e4cf0cd9b0ac04be3 /games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild | |
parent | games-strategy/freesynd: EAPI-6 bump (diff) | |
download | gentoo-e0078976f674e5584e44b6a470191a048f1c59d6.tar.gz gentoo-e0078976f674e5584e44b6a470191a048f1c59d6.tar.bz2 gentoo-e0078976f674e5584e44b6a470191a048f1c59d6.zip |
games-strategy/s25rttr: EAPI-6 bump
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild')
-rw-r--r-- | games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild b/games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild index 00187684759d..47531d7e1d95 100644 --- a/games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild +++ b/games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils cmake-utils gnome2-utils readme.gentoo-r1 +EAPI=6 + +inherit cmake-utils desktop gnome2-utils readme.gentoo-r1 DESCRIPTION="Open Source remake of The Settlers II game (needs original game files)" HOMEPAGE="https://www.siedler25.org/" @@ -29,6 +30,10 @@ DEPEND="${RDEPEND} sys-devel/gettext " +DOCS=( RTTR/texte/{keyboardlayout.txt,readme.txt} ) + +DOC_CONTENTS="Copy your Settlers2 game files into ~/.${PN}/S2" + PATCHES=( "${FILESDIR}"/${P}-cmake.patch "${FILESDIR}"/${P}-soundconverter.patch @@ -39,8 +44,6 @@ PATCHES=( "${FILESDIR}"/${P}-gcc6.patch ) -DOC_CONTENTS="Copy your Settlers2 game files into ~/.${PN}/S2" - src_configure() { local arch case ${ARCH} in @@ -94,14 +97,10 @@ src_install() { dobin src/s25client make_desktop_entry "s25client" "Settlers RTTR" "${PN}" - dodoc RTTR/texte/{keyboardlayout.txt,readme.txt} + einstalldocs readme.gentoo_create_doc } -pkg_preinst() { - gnome2_icon_savelist -} - pkg_postinst() { gnome2_icon_cache_update readme.gentoo_print_elog |