1 |
commit: ebc43a593bd9673f38a0dbd71d05339b3eea2641 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Thu Apr 15 12:50:18 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Thu Apr 15 12:50:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebc43a59 |
7 |
|
8 |
games-util/NotEnoughProduction: install jar without version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/782952 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
13 |
|
14 |
games-util/NotEnoughProduction/NotEnoughProduction-0.0.4.ebuild | 4 ++-- |
15 |
games-util/NotEnoughProduction/files/NotEnoughProduction | 2 +- |
16 |
2 files changed, 3 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/games-util/NotEnoughProduction/NotEnoughProduction-0.0.4.ebuild b/games-util/NotEnoughProduction/NotEnoughProduction-0.0.4.ebuild |
19 |
index 53abaced1..77d044161 100644 |
20 |
--- a/games-util/NotEnoughProduction/NotEnoughProduction-0.0.4.ebuild |
21 |
+++ b/games-util/NotEnoughProduction/NotEnoughProduction-0.0.4.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 2019-2020 Gentoo Authors |
24 |
+# Copyright 2019-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI="7" |
28 |
@@ -29,7 +29,7 @@ src_unpack() { |
29 |
} |
30 |
|
31 |
src_install() { |
32 |
- java-pkg_newjar "${WORKDIR}/${P}.jar" "${P}.jar" |
33 |
+ java-pkg_newjar "${WORKDIR}/${P}.jar" "${PN}.jar" |
34 |
|
35 |
dobin "${FILESDIR}/${PN}" |
36 |
|
37 |
|
38 |
diff --git a/games-util/NotEnoughProduction/files/NotEnoughProduction b/games-util/NotEnoughProduction/files/NotEnoughProduction |
39 |
index 6dbd4488c..05289ad4a 100644 |
40 |
--- a/games-util/NotEnoughProduction/files/NotEnoughProduction |
41 |
+++ b/games-util/NotEnoughProduction/files/NotEnoughProduction |
42 |
@@ -3,7 +3,7 @@ |
43 |
# we need to execute this in a user writeable directory |
44 |
|
45 |
mkdir -p ${HOME}/.local/share/NotEnoughProduction |
46 |
-cp /usr/share/NotEnoughProduction/lib/NotEnoughProduction-*.jar ${HOME}/.local/share/NotEnoughProduction/NotEnoughProduction.jar |
47 |
+cp /usr/share/NotEnoughProduction/lib/NotEnoughProduction.jar ${HOME}/.local/share/NotEnoughProduction/NotEnoughProduction.jar |
48 |
pushd ${HOME}/.local/share/NotEnoughProduction |
49 |
java -jar ${HOME}/.local/share/NotEnoughProduction/NotEnoughProduction.jar |
50 |
popd |