# Template file for 'hunspell-de_DE'
pkgname=hunspell-de_DE
version=20170112
revision=1
_version="${version:0:4}-${version:4:2}-${version:6:2}"
maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="https://extensions.libreoffice.org/extensions/german-de-de-frami-dictionaries"
license="GPL-3.0-only"
hostmakedepends="unzip"
short_desc="German (Germany) dictionary for hunspell"
distfiles="https://extensions.libreoffice.org/extensions/german-de-de-frami-dictionaries/${_version}/@@download/file/dict-de_DE-frami_${_version}.oxt>dict-de.zip"
checksum=af515015e306c634373b5382808a39691200de3439811d2f1502e9b91c23b46a
create_wrksrc=yes
noarch=yes

do_install() {
	vinstall ${wrksrc}/de_DE_frami/de_DE_frami.aff 644 usr/share/hunspell de_DE.aff
	vinstall ${wrksrc}/de_DE_frami/de_DE_frami.dic 644 usr/share/hunspell de_DE.dic
	vdoc README_extension_owner.txt README.txt
}
