From: Nicholas Vinson Date: Fri, 1 Jul 2016 02:51:49 +0000 (-0700) Subject: games-arcade/savagewheels: Remove games directory from paths X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d5b652887d25c11f4a2d3f322725c68ee624ae6a;p=gentoo.git games-arcade/savagewheels: Remove games directory from paths Package-Manager: portage-2.3.0 --- diff --git a/games-arcade/savagewheels/savagewheels-1.6.1.ebuild b/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild similarity index 84% rename from games-arcade/savagewheels/savagewheels-1.6.1.ebuild rename to games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild index 653ab0c0bef4..bd9b8d3ac504 100644 --- a/games-arcade/savagewheels/savagewheels-1.6.1.ebuild +++ b/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild @@ -62,11 +62,9 @@ src_configure() { fi mycmakeargs+=( - -DCMAKE_INSTALL_DATADIR=/usr/share/games/${PN} - -DCMAKE_INSTALL_DATAROOTDIR=/usr/share - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${P} + -DCMAKE_INSTALL_DATADIR=/usr/share/${PN} -DCMAKE_INSTALL_LIBEXECDIR=/usr/libexec/${PN} - -DCMAKE_INSTALL_PREFIX=/usr/games + -DCMAKE_INSTALL_PREFIX=/usr ) cmake-utils_src_configure } @@ -74,8 +72,6 @@ src_configure() { src_install() { cmake-utils_src_install - insinto "/usr/share/games/${PN}" - for d in "${WORKDIR}/${GAMEDATA}/*"; do - doins -r ${d} - done + insinto "/usr/share/${PN}" + doins -r "${WORKDIR}/${GAMEDATA}/." }