commit: 7eb00f29fd1edfa3df8af8f6ea813721c03ef9e4 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Wed Dec 9 22:44:06 2020 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Wed Dec 9 22:44:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb00f29
games-strategy/julius: Add xdg eclass to handle icon cache Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> games-strategy/julius/julius-1.4.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/games-strategy/julius/julius-1.4.1.ebuild b/games-strategy/julius/julius-1.4.1.ebuild index 06b33f139f8..811dfaebf3f 100644 --- a/games-strategy/julius/julius-1.4.1.ebuild +++ b/games-strategy/julius/julius-1.4.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake +inherit cmake xdg DESCRIPTION="Feature-faithful open source re-implementation of Caesar III" HOMEPAGE="https://github.com/bvschaik/julius" @@ -20,6 +20,11 @@ DEPEND=" " RDEPEND="${DEPEND}" +src_prepare() { + cmake_src_prepare + xdg_src_prepare +} + src_install() { insinto /etc/profile.d doins "${FILESDIR}"/90julius.sh @@ -29,6 +34,8 @@ src_install() { } pkg_postinst() { + xdg_pkg_postinst + ewarn "Julius requires you to download the original Caesar 3 resources." ewarn ewarn "You need to obtain these files from a vendor of the proprietary software."
