fixed widelands 0.19
This commit is contained in:
parent
9faa589548
commit
9398cb3dfb
|
@ -49,12 +49,9 @@ src_prepare() {
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
"-DWL_VERSION_STANDARD=true"
|
"-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr/share/games/${PN}"
|
||||||
"-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/share/games/${PN}"
|
"-DWL_INSTALL_BASEDIR=${EPREFIX}/usr/share/games/${PN}"
|
||||||
"-DWL_INSTALL_PREFIX="${EPREFIX}"/usr/games"
|
"-DWL_INSTALL_DATADIR=${EPREFIX}/usr/share/games/${PN}"
|
||||||
"-DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN}"
|
|
||||||
"-DWL_INSTALL_LOCALEDIR="${EPREFIX}"/usr/share/games/${PN}/locale"
|
|
||||||
"-DWL_INSTALL_BINDIR="${EPREFIX}"/usr/bin"
|
|
||||||
)
|
)
|
||||||
cmake-utils_src_configure
|
cmake-utils_src_configure
|
||||||
}
|
}
|
||||||
|
@ -68,4 +65,8 @@ src_install() {
|
||||||
newicon data/images/logos/wl-ico-128.png ${PN}.png
|
newicon data/images/logos/wl-ico-128.png ${PN}.png
|
||||||
make_desktop_entry ${PN} Widelands
|
make_desktop_entry ${PN} Widelands
|
||||||
dodoc ChangeLog CREDITS
|
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