Skip to content

Commit

Permalink
games-strategy/maxr: Update icon cache
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
chewi committed Mar 26, 2018
1 parent 88b6951 commit 8aab4b0
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions games-strategy/maxr/maxr-0.2.9.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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; }

0 comments on commit 8aab4b0

Please sign in to comment.