fixed widelands 0.19
This commit is contained in:
parent
9faa589548
commit
9398cb3dfb
|
@ -49,12 +49,9 @@ src_prepare() {
|
|||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DWL_VERSION_STANDARD=true"
|
||||
"-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/share/games/${PN}"
|
||||
"-DWL_INSTALL_PREFIX="${EPREFIX}"/usr/games"
|
||||
"-DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN}"
|
||||
"-DWL_INSTALL_LOCALEDIR="${EPREFIX}"/usr/share/games/${PN}/locale"
|
||||
"-DWL_INSTALL_BINDIR="${EPREFIX}"/usr/bin"
|
||||
"-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr/share/games/${PN}"
|
||||
"-DWL_INSTALL_BASEDIR=${EPREFIX}/usr/share/games/${PN}"
|
||||
"-DWL_INSTALL_DATADIR=${EPREFIX}/usr/share/games/${PN}"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
@ -68,4 +65,8 @@ src_install() {
|
|||
newicon data/images/logos/wl-ico-128.png ${PN}.png
|
||||
make_desktop_entry ${PN} Widelands
|
||||
dodoc ChangeLog CREDITS
|
||||
|
||||
# As everything is installed in /usr/share/games/${PN},
|
||||
# a symlink is needed in /usr/games/bin
|
||||
dosym ${PREFIX}/${PN} /usr/games/bin/${PN}
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user