1 # Maintainer: Mauro Santos <registo.mailling@gmail.com>
3 pkgname=hunspell-pt_pt-preao
4 _pkgname=hunspell-pt_PT-preao
7 pkgdesc="Portuguese (European, pre-orthographic agreement) hunspell dictionaries"
9 url="http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/"
10 license=('GPL' 'LGPL' 'MPL')
11 optdepends=('hunspell: the spell checking libraries and apps')
12 source=(http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/${_pkgname}-${pkgver}.tar.gz)
13 md5sums=('6eafbfc9ab5315bb46e7570b4c15bbeb')
20 cd ${srcdir}/${_pkgname}-${pkgver}
21 install -dm755 ${pkgdir}/usr/share/hunspell
22 install -m644 pt_PT-preao.dic ${pkgdir}/usr/share/hunspell/pt_PT_preao.dic
23 install -m644 pt_PT-preao.aff ${pkgdir}/usr/share/hunspell/pt_PT_preao.aff
26 install -dm755 ${pkgdir}/usr/share/myspell/dicts
27 pushd ${pkgdir}/usr/share/myspell/dicts
28 for file in ${pkgdir}/usr/share/hunspell/*; do
29 ln -sv /usr/share/hunspell/$(basename ${file}) .
34 install -D -m644 README_pt_PT.txt $pkgdir/usr/share/doc/${pkgname}/README_pt_PT.txt
37 install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING