# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# NOTE: bump together with aspell-pl

EAPI=8

MYSPELL_DICT=( "pl_PL.aff" "pl_PL.dic" )

inherit myspell-r2 unpacker

DESCRIPTION="Polish dictionaries for myspell/hunspell"
HOMEPAGE="https://sjp.pl/sl/en/"
SRC_URI="https://sjp.pl/sl/ort/sjp-${P}.zip -> ${P}.zip"

LICENSE="GPL-2 LGPL-2.1 MPL-1.1 Apache-2.0 CC-BY-4.0" # upstream's order
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"

src_prepare() {
	default
	unpack_zip pl_PL.zip
}
