Skip to content

Commit

Permalink
games-action/astromenace: Switch to cmake.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jul 11, 2020
1 parent ac71c99 commit 09f9634
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions games-action/astromenace/astromenace-1.4.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils desktop xdg-utils
inherit cmake desktop xdg-utils

DESCRIPTION="Hardcore 3D space scroll-shooter with spaceship upgrade possibilities"
HOMEPAGE="https://viewizard.com"
Expand All @@ -26,7 +26,7 @@ DEPEND="media-libs/freealut
RDEPEND=${DEPEND}

src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare

# no messing with CXXFLAGS please.
sed -i -e '/-Os/d' CMakeLists.txt || die
Expand All @@ -35,11 +35,11 @@ src_prepare() {
src_configure() {
local mycmakeargs=( -DDATADIR="${EPREFIX}/usr/share/${PN}" )

cmake-utils_src_configure
cmake_src_configure
}

src_compile() {
cmake-utils_src_compile
cmake_src_compile
}

src_install() {
Expand All @@ -51,7 +51,7 @@ src_install() {
newicon -s 128 share/astromenace_128.png ${PN}.png
newicon -s 64 share/astromenace_64.png ${PN}.png

dodoc CHANGELOG.md README.md
einstalldocs

make_desktop_entry "${PN}" AstroMenace
}
Expand Down

0 comments on commit 09f9634

Please sign in to comment.