summaryrefslogtreecommitdiff
path: root/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /app-dicts/aspell-eo/aspell-eo-2.1.20000225.2.ebuild
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'app-dicts/aspell-eo/aspell-eo-2.1.20000225.2.ebuild')
-rw-r--r--app-dicts/aspell-eo/aspell-eo-2.1.20000225.2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2.ebuild b/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2.ebuild
index a5c0f7b57583..cd8a38ad1903 100644
--- a/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2.ebuild
+++ b/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2.ebuild
@@ -5,11 +5,12 @@ EAPI=7
ASPELL_LANG="Esperanto"
ASPELL_VERSION=6
+MY_PV="$(ver_cut 1-3)a-$(ver_cut 4)"
+MY_P="${PN/aspell/aspell${ASPELL_VERSION}}-${MY_PV}"
+
inherit aspell-dict-r1
-MY_P=${P%.*}a-${PV##*.}
-MY_P=aspell${ASPELL_VERSION}-${MY_P/aspell-/}
-SRC_URI="mirror://gnu/aspell/dict/${ASPELL_SPELLANG}/${MY_P}.tar.bz2"
+SRC_URI="mirror://gnu/${PN%-*}/dict/${PN/aspell-/}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"