summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/dfhack/dfhack-0.40.08_pre9999.ebuild')
-rw-r--r--games-util/dfhack/dfhack-0.40.08_pre9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-util/dfhack/dfhack-0.40.08_pre9999.ebuild b/games-util/dfhack/dfhack-0.40.08_pre9999.ebuild
index 3d3c720..aee1267 100644
--- a/games-util/dfhack/dfhack-0.40.08_pre9999.ebuild
+++ b/games-util/dfhack/dfhack-0.40.08_pre9999.ebuild
@@ -9,9 +9,9 @@
EAPI=5
inherit base eutils multilib git-r3 cmake-utils games
-df_PV=${PV%%_*}
+df_PV=${PV%.${PV#*.*.*.}}
df_PV=${df_PV#0.}
-[[ "${df_PV}" = *.*.* ]] && df_PV=${df_PV%.*}
+df_PV=${df_PV%%_*}
DESCRIPTION="Memory hacking library for Dwarf Fortress and a set of tools that
use it"