diff --git a/srcpkgs/hunspell-pl_PL/template b/srcpkgs/hunspell-pl_PL/template new file mode 100644 index 00000000000..79f32c026a9 --- /dev/null +++ b/srcpkgs/hunspell-pl_PL/template @@ -0,0 +1,23 @@ +# Template file for 'hunspell-pl_PL' +pkgname=hunspell-pl_PL +version=20170717 +revision=1 +hostmakedepends="unzip" +short_desc="Polish dictionary for hunspell" +maintainer="m-cz " +license="GPL-2, LGPL-3, CC-SA-1.0, MPL-1.1, APACHE-2.0" +homepage="https://sjp.pl/slownik/ort/" +distfiles="https://sjp.pl/slownik/ort/sjp-myspell-pl-${version}.zip" +checksum=9b47f2b44328ae18412062c697537a367ccdf373b28441d7ab136c6042270727 +noarch=yes +create_wrksrc=yes + +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 +}