Added hunspell translation
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Has been cancelled
Details
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Has been cancelled
Details
This commit is contained in:
parent
f0ce6a7d3e
commit
753cb2e4f1
|
@ -0,0 +1,33 @@
|
||||||
|
# Contributor: ITmodulo <itmodulo@disroot.org>
|
||||||
|
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
||||||
|
pkgname=hunspell-pl
|
||||||
|
pkgver=20240101
|
||||||
|
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="
|
||||||
|
dabe85e7a15cab2b7af8a4e5d96eb996d3e01d8b3fc5b7fbf2d0bffd3af13dd7bf13b8457b2272c85ace56fd790de34935c2b178ab0d81b19a0ead4545fc1dd5 sjp-myspell-pl-20240101.zip
|
||||||
|
"
|
Loading…
Reference in New Issue