1 |
commit: d5b652887d25c11f4a2d3f322725c68ee624ae6a |
2 |
Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jul 1 02:51:49 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 1 12:43:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b65288 |
7 |
|
8 |
games-arcade/savagewheels: Remove games directory from paths |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
...avagewheels-1.6.1.ebuild => savagewheels-1.6.1-r1.ebuild} | 12 ++++-------- |
13 |
1 file changed, 4 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/games-arcade/savagewheels/savagewheels-1.6.1.ebuild b/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild |
16 |
similarity index 84% |
17 |
rename from games-arcade/savagewheels/savagewheels-1.6.1.ebuild |
18 |
rename to games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild |
19 |
index 653ab0c..bd9b8d3 100644 |
20 |
--- a/games-arcade/savagewheels/savagewheels-1.6.1.ebuild |
21 |
+++ b/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild |
22 |
@@ -62,11 +62,9 @@ src_configure() { |
23 |
fi |
24 |
|
25 |
mycmakeargs+=( |
26 |
- -DCMAKE_INSTALL_DATADIR=/usr/share/games/${PN} |
27 |
- -DCMAKE_INSTALL_DATAROOTDIR=/usr/share |
28 |
- -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${P} |
29 |
+ -DCMAKE_INSTALL_DATADIR=/usr/share/${PN} |
30 |
-DCMAKE_INSTALL_LIBEXECDIR=/usr/libexec/${PN} |
31 |
- -DCMAKE_INSTALL_PREFIX=/usr/games |
32 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
33 |
) |
34 |
cmake-utils_src_configure |
35 |
} |
36 |
@@ -74,8 +72,6 @@ src_configure() { |
37 |
src_install() { |
38 |
cmake-utils_src_install |
39 |
|
40 |
- insinto "/usr/share/games/${PN}" |
41 |
- for d in "${WORKDIR}/${GAMEDATA}/*"; do |
42 |
- doins -r ${d} |
43 |
- done |
44 |
+ insinto "/usr/share/${PN}" |
45 |
+ doins -r "${WORKDIR}/${GAMEDATA}/." |
46 |
} |