1 # Made using hunspell-uk package as template
5 pkgdesc="Norwegian Nynorsk hyphenation rules"
7 url="http://wiki.services.openoffice.org/wiki/Dictionaries"
9 optdepends=('hyphen: offers hyphenation library functions')
10 source=(http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/hyph_nn_NO.zip)
11 md5sums=('ec8ace1cc23861b532ad8ff25ef95c3f')
16 install -dm755 ${pkgdir}/usr/share/hyphen
17 #cp -p hyph_nn_NO.dic $pkgdir/usr/share/hyphen
18 install -m 644 hyph_nn_NO.dic $pkgdir/usr/share/hyphen
20 install -dm755 ${pkgdir}/usr/share/myspell/dicts
21 pushd $pkgdir/usr/share/myspell/dicts
22 for file in $pkgdir/usr/share/hyphen/*; do
23 ln -sv /usr/share/hyphen/$(basename $file) .
27 install -dm755 ${pkgdir}/usr/share/doc/$pkgname
28 install -m 644 README_hyph_nn_NO.txt $pkgdir/usr/share/doc/$pkgname