summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-02-13 13:22:34 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-02-13 13:23:51 +0000
commitecc60587f29a886ff8546f81612f1377d547aa41 (patch)
treed9a59ca2edad33cd48b7dba5ce44ac77a04b285b /games-board
parentgames-board/gmchess: fix build error and segfaults (diff)
downloadgentoo-ecc60587f29a886ff8546f81612f1377d547aa41.tar.gz
gentoo-ecc60587f29a886ff8546f81612f1377d547aa41.tar.bz2
gentoo-ecc60587f29a886ff8546f81612f1377d547aa41.zip
games-board/gmchess: xdg eclass, fix prefix
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gmchess/gmchess-0.29.6-r3.ebuild20
1 files changed, 4 insertions, 16 deletions
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
-}