2 # Maintainer: Sagar Chalise <chalisesagar@gmail.com>
9 pkgdesc="Nepali Dictionary for Hunspell"
11 url="http://ltk.org.np/nepali_spellchecker.php"
13 makedepends=('hunspell')
14 optdepends=('hunspell: the spell checking libraries and apps')
15 source=("http://nepalinux.org/downloads/ne_NP_dict.zip")
16 md5sums=('cfb00708085445afe58d6972bc9a22e8')
21 # Fix dic file empty lines (FS#22275)
22 sed '/^\/$/d' -i ne_NP.dic
27 install -dm755 ${pkgdir}/usr/share/hunspell
29 install -D -m644 ne_NP.dic "${pkgdir}/usr/share/hunspell/ne_NP.dic"
30 install -D -m644 ne_NP.aff "${pkgdir}/usr/share/hunspell/ne_NP.aff"
33 install -dm755 ${pkgdir}/usr/share/myspell/dicts
34 pushd $pkgdir/usr/share/myspell/dicts
35 for file in $pkgdir/usr/share/hunspell/*; do
36 ln -sv /usr/share/hunspell/$(basename $file) .
40 install -dm755 ${pkgdir}/usr/share/doc/$pkgname
41 cp -p README_ne_NP.txt ${pkgdir}/usr/share/doc/$pkgname