void-packages/srcpkgs/hunspell-pl_PL/template

24 lines
659 B
Bash

# Template file for 'hunspell-pl_PL'
pkgname=hunspell-pl_PL
version=20180730
revision=1
create_wrksrc=yes
noarch=yes
hostmakedepends="unzip"
short_desc="Polish dictionary for hunspell"
maintainer="m-cz <emcze@ya.ru>"
license="GPL-2.0-or-later, LGPL-3.0-or-later, CC-BY-SA-1.0, MPL-1.1, Apache-2.0, CC-BY-4.0"
homepage="https://sjp.pl/slownik/ort/"
distfiles="https://sjp.pl/slownik/ort/sjp-myspell-pl-${version}.zip"
checksum=e2a0dbbcce10ac671a3987d7f4630242d73d4f19ac9cd657dc7c1c260b334428
post_extract() {
unzip pl_PL.zip
}
do_install() {
vinstall pl_PL.aff 644 usr/share/hunspell
vinstall pl_PL.dic 644 usr/share/hunspell
vlicense README_pl_PL.txt
}