All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h9m44s
33 lines
933 B
Text
Executable file
33 lines
933 B
Text
Executable file
# Contributor: ITmodulo <itmodulo@disroot.org>
|
|
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
|
pkgname=hunspell-pl
|
|
pkgver=20250701
|
|
pkgrel=0
|
|
pkgdesc="Polish dictionary for Hunspell"
|
|
arch="noarch"
|
|
url='https://www.sjp.pl/slownik/ort/'
|
|
license="Apache-2.0"
|
|
makedepends="unzip enca"
|
|
depends="hunspell"
|
|
source="https://sjp.pl/sl/ort/sjp-myspell-pl-$pkgver.zip"
|
|
options="!check" # static files
|
|
|
|
prepare() {
|
|
default_prepare
|
|
unzip pl_PL.zip
|
|
enca -L pl -x utf8 pl_PL.aff
|
|
enca -L pl -x utf8 pl_PL.dic
|
|
# fix encoding in .aff files
|
|
sed -i "s/SET ISO8859-2/SET UTF-8/" pl_PL.aff
|
|
}
|
|
|
|
package() {
|
|
cd src/
|
|
install -dm755 "$pkgdir"/usr/share/hunspell
|
|
install -m644 pl_PL.aff "$pkgdir"/usr/share/hunspell
|
|
install -m644 pl_PL.dic "$pkgdir"/usr/share/hunspell
|
|
}
|
|
|
|
sha512sums="
|
|
58395917d4172b8e6a2496b4816ec74c2c1e317a3c742ca6b8a43459849ae6d3ea2a166f6a54ab88a48c84b0b58c148c13b8c5cab5ac90838db5ea9199bb21a5 sjp-myspell-pl-20250701.zip
|
|
"
|