games-rpg/flare: Use cmake [ api=2 ]

And let emagicdocs handle README (which would otherwise need to
be installed from ${CMAKE_SOURCE}).
This commit is contained in:
Heiko Becker 2019-01-17 22:18:40 +01:00 committed by Julian Ospald
parent 69856c6391
commit d0bdc1b926
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 3 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
require github [ user=clintbellanger project=flare-game tag=v${PV} pn=flare-game ]
require cmake desktop-utils gtk-icon-cache
require cmake [ api=2 ] desktop-utils gtk-icon-cache
SUMMARY="Free/Libre Action Roleplaying game"
@ -15,7 +15,7 @@ DEPENDENCIES="
games-engines/flare[~${PV}]
"
WORK=${WORKBASE}/${PN}-game-${PV}
CMAKE_SOURCE=${WORKBASE}/${PN}-game-${PV}
CMAKE_SRC_CONFIGURE_PARAMS=(
-DBINDIR="/usr/$(exhost --target)/bin"
@ -31,7 +31,5 @@ exec flare --game=flare-game "\$@"
EOF
install_desktop_entry "Name=Flare (game)" "Exec=flare-game"
dodoc README
}

View File

@ -3,7 +3,7 @@
SCM_CHECKOUT_TO=flare-game
require github [ user=clintbellanger project=flare-game pn=flare-game ]
require cmake desktop-utils gtk-icon-cache
require cmake [ api=2 ] desktop-utils gtk-icon-cache
SUMMARY="Free/Libre Action Roleplaying game"
@ -30,7 +30,5 @@ exec flare --game=flare-game "\$@"
EOF
install_desktop_entry "Name=Flare (game)" "Exec=flare-game"
dodoc README
}