aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonçalo Negrier Duarte <gonegrier.duarte@gmail.com>2023-12-28 19:10:44 +0000
committerGonçalo Negrier Duarte <gonegrier.duarte@gmail.com>2023-12-28 19:10:44 +0000
commitff3648a2830ea87015733122b0093d197ee47f3e (patch)
tree6720fcad1f1927f01f719aacebc46496bb416b99 /games-util/r2modman-bin
parentgames-util/r2modman-bin: update SRC_URI (diff)
downloadguru-ff3648a2830ea87015733122b0093d197ee47f3e.tar.gz
guru-ff3648a2830ea87015733122b0093d197ee47f3e.tar.bz2
guru-ff3648a2830ea87015733122b0093d197ee47f3e.zip
games-util/r2modman-bin: change ${S}
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
Diffstat (limited to 'games-util/r2modman-bin')
-rw-r--r--games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
index 0ed315fd7..e368d3a45 100644
--- a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
+++ b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
@@ -26,13 +26,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
-S="${WORKDIR}/${M_PN}-${PV}"
+S="${WORKDIR}"
src_install() {
## Install binaries file
- cp -r "${S}" "${WORKDIR}/${M_PN}" #Fix folder name
+ mv "${M_PN}-${PV}" "${M_PN}" || die #Fix folder name
insinto /opt
- doins -r "${WORKDIR}/${M_PN}"
+ doins -r "${M_PN}"
fperms 755 "/opt/${M_PN}/r2modman"
# Install desktop file