mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:27:13 +08:00
36 lines
989 B
Bash
36 lines
989 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: abveritas@chakra-project.org
|
|
# contributor: Jakub Kozisek <nodevel at gmail dot com>
|
|
|
|
pkgname=hunspell-cs
|
|
pkgver=20060303
|
|
pkgrel=1
|
|
pkgdesc="Czech hunspell/myspell dictionary"
|
|
arch=('x86_64')
|
|
url="http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/Czech/spell_checking/"
|
|
license=('GPL2' 'custom')
|
|
depends=('hunspell')
|
|
source=(${url}cs_CZ.zip)
|
|
sha256sums=('9a15980176309ff887ed620ac54c5f839807d728aef2b645fd23d87d522d2824')
|
|
|
|
build()
|
|
{
|
|
/bin/true
|
|
}
|
|
|
|
package()
|
|
{
|
|
cd ${srcdir}
|
|
bsdtar -xf cs_CZ.zip
|
|
install -D -m 644 cs_CZ.aff ${pkgdir}/usr/share/myspell/dicts/cs_CZ.aff
|
|
install -D -m 644 cs_CZ.dic ${pkgdir}/usr/share/myspell/dicts/cs_CZ.dic
|
|
|
|
# simlinks are needed
|
|
install -dm755 ${pkgdir}/usr/share/hunspell
|
|
for file in ${pkgdir}/usr/share/myspell/dicts/*; do
|
|
ln -s /usr/share/myspell/dicts/$(basename $file) ${pkgdir}/usr/share/hunspell/$(basename $file)
|
|
done
|
|
}
|