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:
parent
69856c6391
commit
d0bdc1b926
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user