hunspell-it_IT: remove noarch, fix distfiles

This commit is contained in:
Đoàn Trần Công Danh 2020-11-29 10:10:10 +07:00
parent 91a47f61b6
commit 0f8390989b

View file

@ -1,24 +1,21 @@
# Template file for 'hunspell-it_IT'
pkgname=hunspell-it_IT
version=4.2
revision=1
build_style=fetch
archs=noarch
revision=2
create_wrksrc=yes
hostmakedepends="unzip"
short_desc="Italian dictionary for hunspell"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="GPL-3"
homepage="https://extensions.libreoffice.org/extensions/italian-dictionary-thesaurus-hyphenation-patterns/${version}"
distfiles="https://extensions.libreoffice.org/extensions/italian-dictionary-thesaurus-hyphenation-patterns/${version}/@@download/file/dict-it.oxt>dic-it.zip"
license="GPL-3.0-only"
homepage="https://extensions.libreoffice.org/extensions/italian-dictionary-thesaurus-hyphenation-patterns/"
_hash=874d181c
distfiles="https://extensions.libreoffice.org/assets/downloads/z/${_hash}_dict-it.oxt>dic-it.zip"
checksum=19318501c3bdeb77c0bc0c7c40287f5e3836fcf923e8f7a3a6c124da32d947f6
do_install() {
unzip dic-it.zip
vinstall dictionaries/it_IT.aff 644 /usr/share/hunspell it_IT.aff
vinstall dictionaries/it_IT.dic 644 /usr/share/hunspell it_IT.dic
vdoc dictionaries/README.txt
vdoc dictionaries/CHANGELOG.txt
}