wget https://repo.aosc.io/aosc-repacks/hunspell-dictionaries-$DICTVER.tar.xz
tar xf hunspell-dictionaries-$DICTVER.tar.xz

mkdir -p "$PKGDIR"/usr/share/{,doc/}hunspell
cp -av hunspell-dictionaries-$DICTVER/* "$PKGDIR"/usr/share/hunspell/
cp -rv hunspell-dictionaries-$DICTVER/* "$PKGDIR"/usr/share/doc/hunspell/

mkdir -p "$PKGDIR"/usr/share/myspell/dicts
cd "$PKGDIR"/usr/share/myspell/dicts/
ln -sv ../../hunspell/* .
cd "$SRCDIR"
