void-packages/srcpkgs/hunspell-de_CH/template

20 lines
816 B
Bash

# Template file for 'hunspell-de_CH'
pkgname=hunspell-de_CH
version=20170112
revision=2
_version="${version:0:4}-${version:4:2}-${version:6:2}"
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/assets/downloads/z/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
}