hunspell-ru_RU: 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 d843942cde
commit a4ffc9986f

View file

@ -1,19 +1,17 @@
# Template file for 'hunspell-ru_RU'
pkgname=hunspell-ru_RU
version=0.4.3
revision=1
revision=2
create_wrksrc=yes
hostmakedepends="unzip"
short_desc="Russian dictionary for hunspell"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="LGPL-2.1-only"
homepage="https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group"
distfiles="https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group/${version/./-}/@@download/file/dict_ru_ru-aot-${version}.oxt>dict-ru.zip"
distfiles="https://extensions.libreoffice.org/assets/downloads/z/dict-ru-ru-aot-${version//./-}.oxt>dict-ru.zip"
checksum=ee9b0575e9f8caf1d0a948fb644aed864de47aaf3bc24d2b77f288fec7f8d4c4
create_wrksrc=yes
archs=noarch
do_install() {
vinstall russian-aot.aff 644 usr/share/hunspell ru_RU.aff
vinstall russian-aot.dic 644 usr/share/hunspell ru_RU.dic
vlicense copyright.txt
}