You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-dicts/myspell-de/myspell-de-2015.12.28.ebuild

56 lines
1.4 KiB

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MYSPELL_DICT=(
"de_AT.aff"
"de_AT.dic"
"de_DE.aff"
"de_DE.dic"
"de_CH.aff"
"de_CH.dic"
)
MYSPELL_HYPH=(
"hyph_de_AT.dic"
"hyph_de_DE.dic"
"hyph_de_CH.dic"
)
MYSPELL_THES=(
"th_de_AT_v2.dat"
"th_de_AT_v2.idx"
"th_de_DE_v2.dat"
"th_de_DE_v2.idx"
"th_de_CH_v2.dat"
"th_de_CH_v2.idx"
)
inherit myspell-r2
DESCRIPTION="German dictionaries for myspell/hunspell"
HOMEPAGE="
http://extensions.libreoffice.org/extension-center/german-de-at-frami-dictionaries
http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries
http://extensions.libreoffice.org/extension-center/german-de-ch-frami-dictionaries
"
SRC_URI="
http://extensions.libreoffice.org/extension-center/german-de-at-frami-dictionaries/pscreleasefolder.2011-11-05.7614737245/${PV}/dict-de_at-frami_${PV//./-}.oxt
http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries/releases/${PV}/dict-de_de-frami_${PV//./-}.oxt
http://extensions.libreoffice.org/extension-center/german-de-ch-frami-dictionaries/pscreleasefolder.2011-11-05.5296069116/${PV}/dict-de_ch-frami_${PV//./-}.oxt
"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
src_prepare() {
# rename the tarballs
for i in *_frami.*; do
mv "${i}" "${i/_frami}" || die
done
}