Skip to content

Commit

Permalink
games-arcade/savagewheels: Remove games directory from paths
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
nvinson committed Jul 1, 2016
1 parent 615a3bb commit d5b6528
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,16 @@ 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
}

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}/."
}

0 comments on commit d5b6528

Please sign in to comment.