# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 MYSPELL_DICT=( "lt_LT.aff" "lt_LT.dic" ) MYSPELL_HYPH=( "hyph_lt_LT.dic" ) inherit myspell-r2 DESCRIPTION="Lithuanian dictionaries for myspell/hunspell" HOMEPAGE="https://extensions.libreoffice.org/en/extensions/show/lithuanian-spellcheck-and-hyphenation-dictionaries" SRC_URI="https://extensions.libreoffice.org/assets/downloads/z/openoffice-spellcheck-lt-1-3.oxt" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" src_prepare() { default # renaming correctly mv lt.aff lt_LT.aff || die mv lt.dic lt_LT.dic || die mv hyph_lt.dic hyph_lt_LT.dic || die }