diff options
author | James Le Cuirot <chewi@gentoo.org> | 2018-03-26 22:23:24 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-03-26 22:25:01 +0100 |
commit | 8aab4b0b10ac04dab682de38becbba7b54b24878 (patch) | |
tree | d437f4fa3e6b566b5bacb804bba7e3a6e0e55334 /games-strategy/maxr | |
parent | games-strategy/maxr: Bump verion 0.2.9 (diff) | |
download | gentoo-8aab4b0b10ac04dab682de38becbba7b54b24878.tar.gz gentoo-8aab4b0b10ac04dab682de38becbba7b54b24878.tar.bz2 gentoo-8aab4b0b10ac04dab682de38becbba7b54b24878.zip |
games-strategy/maxr: Update icon cache
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'games-strategy/maxr')
-rw-r--r-- | games-strategy/maxr/maxr-0.2.9.ebuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/games-strategy/maxr/maxr-0.2.9.ebuild b/games-strategy/maxr/maxr-0.2.9.ebuild index 1835decca361..624345a06b30 100644 --- a/games-strategy/maxr/maxr-0.2.9.ebuild +++ b/games-strategy/maxr/maxr-0.2.9.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils desktop + +inherit cmake-utils desktop gnome2-utils DESCRIPTION="Mechanized Assault and Exploration Reloaded" HOMEPAGE="http://www.maxr.org/" @@ -20,14 +21,19 @@ DEPEND="${RDEPEND}" src_configure() { mycmakeargs=( - -DMAXR_BUILD_DEDICATED_SERVER="$(usex dedicated)" - "-DCMAKE_BUILD_TYPE=Release") + -DMAXR_BUILD_DEDICATED_SERVER=$(usex dedicated) + -DCMAKE_BUILD_TYPE=Release + ) cmake-utils_src_configure } src_install() { - doicon data/maxr.png - make_desktop_entry maxr "Mechanized Assault and Exploration Reloaded" cmake-utils_src_install + doicon -s 128 data/${PN}.png + make_desktop_entry ${PN} "Mechanized Assault and Exploration Reloaded" } + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } |