diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2f9e0c2ef90c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Ondrej Kipila <ok100.ok100.ok100@gmail.com> + +pkgname=hunspell-cs +pkgver=20061030 +pkgrel=1 +pkgdesc="Czech hunspell/myspell dictionary" +arch=('any') +url="http://ooo.mirror.dkm.cz/pub/openoffice/contrib/dictionaries/" +license=('GPL2' 'custom') +depends=('hunspell') +source=(${url}cs_CZ-pack.zip) +md5sums=('a778a2a0df6abf505fd8b20a503414e0') + +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 + + # symlinks 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 +} |