mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: abveritas@chakra-project.org
|
|
# contributor: Blaž Tomažič <blaz.tomazic@gmail.com>
|
|
# contributor: Damjan Franz Lu <damjan.franz@gmail.com>
|
|
|
|
pkgname=hunspell-sl
|
|
pkgver=20070127
|
|
pkgrel=2
|
|
pkgdesc="Slovenian hunspell dictionaries"
|
|
arch=('x86_64')
|
|
url="http://download.services.openoffice.org/files/contrib/dictionaries/"
|
|
license=('LGPL2')
|
|
optdepends=('hunspell: the spell checking libraries and apps')
|
|
source=("http://download.services.openoffice.org/files/contrib/dictionaries/sl_SI.zip")
|
|
md5sums=('74d1bf52a3c013e2a5dae2bd20ccdc00')
|
|
|
|
package() {
|
|
cd "${srcdir}"
|
|
install -dm755 "${pkgdir}/usr/share/hunspell"
|
|
install -m644 sl_SI.dic "${pkgdir}/usr/share/hunspell/sl_SI.dic"
|
|
install -m644 sl_SI.aff "${pkgdir}/usr/share/hunspell/sl_SI.aff"
|
|
|
|
# the symlinks
|
|
install -dm755 "${pkgdir}/usr/share/myspell/dicts"
|
|
pushd "${pkgdir}/usr/share/myspell/dicts"
|
|
for file in ${pkgdir}/usr/share/hunspell/*; do
|
|
ln -sv /usr/share/hunspell/$(basename $file) .
|
|
done
|
|
popd
|
|
|
|
# docs
|
|
install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
|
|
install -m644 README_sl_SI.txt "${pkgdir}/usr/share/doc/${pkgname}"
|
|
}
|