From 0f8390989b0996c08d1d7a574f61190f3dee2fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 29 Nov 2020 10:10:10 +0700 Subject: [PATCH] hunspell-it_IT: remove noarch, fix distfiles --- srcpkgs/hunspell-it_IT/template | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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 } -