diff --git a/srcpkgs/hunspell-it_IT/template b/srcpkgs/hunspell-it_IT/template index 44d83a79ae6..705e925017e 100644 --- a/srcpkgs/hunspell-it_IT/template +++ b/srcpkgs/hunspell-it_IT/template @@ -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 " -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 } -