2 # Maintainer: Sagar Chalise<chalisesagar@gmail.com>
7 pkgdesc="Nepali thesaurus"
9 url="http://ltk.org.np/nepali_spellchecker.php"
11 optdepends=('libmythes: offers thesaurus library functions')
12 source=(ftp://ftp.iitm.ac.in/openoffice/contrib/dictionaries/thes_ne_NP_v2.zip)
13 md5sums=('d262acc867a259b23f16301e373128f0')
17 install -dm755 "${pkgdir}"/usr/share/mythes
18 install -m644 th_ne_NP_v2.dat "${pkgdir}/usr/share/mythes/th_ne_NP_v2.dat"
19 install -m644 th_ne_NP_v2.idx "${pkgdir}/usr/share/mythes/th_ne_NP_v2.idx"
22 install -dm755 "${pkgdir}/usr/share/myspell/dicts"
23 pushd "${pkgdir}/usr/share/myspell/dicts"
24 for file in ${pkgdir}/usr/share/mythes/*; do
25 ln -sv /usr/share/mythes/$(basename $file) .
30 install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
31 install -m644 README_th_ne_NP_v2.txt "${pkgdir}/usr/share/doc/${pkgname}"
34 install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
35 ln -s ../../doc/${pkgname}/README_th_ne_NP.txt $pkgdir/usr/share/licenses/$pkgname/README_th_ne_NP_v2.txt