1 # Contributor: Blaž Tomažič <blaz.tomazic@gmail.com>
6 pkgdesc="Slovenian hunspell dictionaries"
8 url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/"
10 optdepends=('hunspell: the spell checking libraries and apps')
11 source=(http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/sl_SI.zip)
12 md5sums=('74d1bf52a3c013e2a5dae2bd20ccdc00')
16 install -dm755 "${pkgdir}/usr/share/hunspell"
17 install -m644 sl_SI.dic "${pkgdir}/usr/share/hunspell/sl_SI.dic"
18 install -m644 sl_SI.aff "${pkgdir}/usr/share/hunspell/sl_SI.aff"
21 install -dm755 "${pkgdir}/usr/share/myspell/dicts"
22 pushd "${pkgdir}/usr/share/myspell/dicts"
23 for file in ${pkgdir}/usr/share/hunspell/*; do
24 ln -sv /usr/share/hunspell/$(basename $file) .
29 install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
30 install -m644 README_sl_SI.txt "${pkgdir}/usr/share/doc/${pkgname}"