From ecc60587f29a886ff8546f81612f1377d547aa41 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 13 Feb 2021 13:22:34 +0000 Subject: games-board/gmchess: xdg eclass, fix prefix Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: James Le Cuirot --- games-board/gmchess/gmchess-0.29.6-r3.ebuild | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'games-board/gmchess/gmchess-0.29.6-r3.ebuild') diff --git a/games-board/gmchess/gmchess-0.29.6-r3.ebuild b/games-board/gmchess/gmchess-0.29.6-r3.ebuild index 67efbf955c48..fbd0e59250a6 100644 --- a/games-board/gmchess/gmchess-0.29.6-r3.ebuild +++ b/games-board/gmchess/gmchess-0.29.6-r3.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools flag-o-matic libtool gnome2-utils +inherit autotools flag-o-matic xdg DESCRIPTION="Chinese chess with gtkmm and c++" HOMEPAGE="https://github.com/lerosua/gmchess" @@ -38,22 +38,10 @@ src_configure() { src_install() { emake DESTDIR="${D}" \ - itlocaledir='/usr/share/locale' \ - pixmapsdir='/usr/share/pixmaps' \ - desktopdir='/usr/share/applications' \ + localedir="${EPREFIX}"/usr/share/locale \ + pixmapsdir="${EPREFIX}"/usr/share/pixmaps \ + desktopdir="${EPREFIX}"/usr/share/applications \ install dodoc AUTHORS NEWS README find "${ED}" -name "*.la" -delete || die } - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} -- cgit v1.2.3-65-gdbad