refresh
Some checks are pending
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Waiting to run
Some checks are pending
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Waiting to run
This commit is contained in:
parent
27b1358918
commit
4355d79c91
6 changed files with 34 additions and 35 deletions
|
|
@ -1,33 +0,0 @@
|
|||
# Contributor: ITmodulo <itmodulo@disroot.org>
|
||||
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
||||
pkgname=hunspell-pl
|
||||
pkgver=20240301
|
||||
pkgrel=0
|
||||
pkgdesc="Polish dictionary for Hunspell"
|
||||
arch="noarch"
|
||||
url='https://www.sjp.pl/slownik/ort/'
|
||||
license="GPL-3.0-or-later"
|
||||
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="
|
||||
557ea2eff54c806e3ca866deaef4c2bda8d714067dafe65a2a29041fa2816812bbd7cde86baa6b8fc9740cc268b3acbc1cdb6e054d19673b1437c02d1475efe7 sjp-myspell-pl-20240301.zip
|
||||
"
|
||||
Loading…
Add table
Add a link
Reference in a new issue