summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-11 21:53:54 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-12 00:11:36 +0200
commit09f96341b549a85ccea20801325d91ca47817cc2 (patch)
tree1db3c6d53076ba9da7f21b21164a33880d10b297 /games-action
parentdev-python/trustme: s390 keyworded (bug #711762) (diff)
downloadgentoo-09f96341b549a85ccea20801325d91ca47817cc2.tar.gz
gentoo-09f96341b549a85ccea20801325d91ca47817cc2.tar.bz2
gentoo-09f96341b549a85ccea20801325d91ca47817cc2.zip
games-action/astromenace: Switch to cmake.eclass
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/astromenace/astromenace-1.4.1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games-action/astromenace/astromenace-1.4.1.ebuild b/games-action/astromenace/astromenace-1.4.1.ebuild
index 3300882e709e..c5ebfee106c2 100644
--- a/games-action/astromenace/astromenace-1.4.1.ebuild
+++ b/games-action/astromenace/astromenace-1.4.1.ebuild
@@ -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"
@@ -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
@@ -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() {
@@ -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
}