void-packages/srcpkgs/hunspell-de_CH/template
2019-12-31 14:46:28 +01:00

21 lines
883 B
Bash

# 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
}