From 7a942006c486151a89cac2c620a27b465f64abd2 Mon Sep 17 00:00:00 2001 From: Pascal Huber Date: Sun, 29 Dec 2019 17:04:34 +0100 Subject: [PATCH] New package: hunspell-de_CH --- srcpkgs/hunspell-de_CH/template | 20 ++++++++++++++++++++ srcpkgs/hunspell-de_CH/update | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 srcpkgs/hunspell-de_CH/template create mode 100644 srcpkgs/hunspell-de_CH/update diff --git a/srcpkgs/hunspell-de_CH/template b/srcpkgs/hunspell-de_CH/template new file mode 100644 index 00000000000..bb6cf80e017 --- /dev/null +++ b/srcpkgs/hunspell-de_CH/template @@ -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="Orphaned " +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 +} diff --git a/srcpkgs/hunspell-de_CH/update b/srcpkgs/hunspell-de_CH/update new file mode 100644 index 00000000000..b2cf8b29bff --- /dev/null +++ b/srcpkgs/hunspell-de_CH/update @@ -0,0 +1,2 @@ +pattern='\K[-_.\d]+(?=)' +version="${_version}"