New package: hunspell-de_CH

This commit is contained in:
Pascal Huber 2019-12-29 17:04:34 +01:00 committed by Leah Neukirchen
parent 2ca58e109d
commit a231570ec4
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
# Template file for 'hunspell-de_CH'
pkgname=hunspell-de_CH
version=20170112
revision=1
_version="${version:0:4}-${version:4:2}.${version:6:2}"
archs=noarch
create_wrksrc=yes
hostmakedepends="unzip"
short_desc="German (Switzerland) dictionary for hunspell"
maintainer="Pascal Huber <pascal.huber@resolved.ch>"
license="GPL-3.0-only"
homepage="https://extensions.libreoffice.org/extensions/german-de-ch-frami-dictionaries"
distfiles="https://extensions.libreoffice.org/extensions/german-de-ch-frami-dictionaries/${_version}/@@download/file/dict-de_CH-frami_${_version}.oxt>dict-de.zip"
checksum=d2e0c8c1d59e5e56c7e2580ae8ecae98094869fedc093fc8e4674cffd2b5991a
do_install() {
vinstall ${wrksrc}/de_CH_frami/de_CH_frami.aff 644 usr/share/hunspell de_CH.aff
vinstall ${wrksrc}/de_CH_frami/de_CH_frami.dic 644 usr/share/hunspell de_CH.dic
vdoc README_extension_owner.txt README.txt
}

View file

@ -0,0 +1,2 @@
pattern='<span>\K[-_.\d]+(?=</span></a>)'
version="${_version}"