updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / hunspell-et / PKGBUILD
blob9c297a876257793870d461a4966d94026229f75e
1 pkgname=hunspell-et
2 pkgver=0.1
3 pkgrel=1
4 pkgdesc='Estonian dictionary for Hunspell'
5 arch=('any')
6 url="http://wiki.services.openoffice.org/wiki/Dictionaries#Estonian_.28Estonia.29"
7 license=('GPL')
8 #makedepend=(sed)
9 optdepends=('hunspell:  the spell checking libraries and apps')
10 source=('http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/et_EE.zip')
11 md5sums=('2a1e97d61132c537aa03df4d0fee9b89')
13 package() {
14         cd "${srcdir}"
15         install -dm755 ${pkgdir}/usr/share/hunspell
16         install -m644 et_EE.dic ${pkgdir}/usr/share/hunspell/
17         install -m644 et_EE.aff ${pkgdir}/usr/share/hunspell/
19         # the symlinks
20         install -dm755 ${pkgdir}/usr/share/myspell/dicts
21         pushd ${pkgdir}/usr/share/myspell/dicts
22         for file in ${pkgdir}/usr/share/hunspell/*; do
23                 ln -sv /usr/share/hunspell/$(basename ${file}) .
24         done
25         popd
27         # docs
28         install -dm755 ${pkgdir}/usr/share/doc/${pkgname}
29         install -m644 README_et_EE.txt $pkgdir/usr/share/doc/${pkgname}/README_et.txt