1 # Maintainer: Mauro Santos <registo.mailling@gmail.com>
4 _pkgname=hunspell-pt_PT
7 pkgdesc="Portuguese (European, post-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=('de40d6bd755eda7d7a653cc77840c37d')
20 cd ${srcdir}/${_pkgname}-${pkgver}
21 install -dm755 ${pkgdir}/usr/share/hunspell
22 install -m644 pt_PT.dic ${pkgdir}/usr/share/hunspell/pt_PT.dic
23 install -m644 pt_PT.aff ${pkgdir}/usr/share/hunspell/pt_PT.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