Commit 44401580 authored by Willing's avatar Willing
Browse files

Ispell-pl, hyphen-pl and hunspell-pl added

parent 1f873e6f
#
# Chakra Packages, part of chakra-project.org
#
# maintainer : Mateusz Krawczuk <willingmagic[at]gmail[dot]com>
pkgname=hyphen-pl
pkgver=20111102
pkgrel=1
pkgdesc="Polish hyphenation rules"
arch=('any')
url="http://wiki.services.openoffice.org/wiki/Dictionaries"
license=('LGPL')
depends=('hyphen')
source=(http://pl.openoffice.org/pliki/hyph_pl_PL.zip)
md5sums=('e015c046f60437d39223b1253b78a4e2')
build() {
cd "$srcdir"
bsdtar -xf hyph_pl_PL.zip
}
package() {
cd "$srcdir"
install -dm755 ${pkgdir}/usr/share/hyphen
install -m644 hyph_pl_PL.dic ${pkgdir}/usr/share/hyphen
# the symlinks
install -dm755 ${pkgdir}/usr/share/myspell/dicts
pushd $pkgdir/usr/share/myspell/dicts
for file in $pkgdir/usr/share/hyphen/*; do
ln -sv /usr/share/hyphen/$(basename $file) .
done
popd
# docs
install -dm755 ${pkgdir}/usr/share/doc/$pkgname
install -m644 README_hyph_pl_PL.txt $pkgdir/usr/share/doc/$pkgname
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment