updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / hyphen-el / PKGBUILD
blob69b42ecb29594c4e217d55aa167740f83989dc8c
1 pkgname=hyphen-el
2 pkgver=1.1b
3 pkgrel=1
4 pkgdesc="Greek hyphenation rules"
5 arch=('any')
6 url="http://ispell.math.upatras.gr"
7 license=('LGPL')
8 optdepends=('hyphen: offers hyphenation library functions')
9 source=(http://ispell.math.upatras.gr/files/ooffice/hyph_el.zip)
10 md5sums=('f4eae38b3b3c6b043089c3e7e6176a2d')
12 build() {
13   cd "${srcdir}"
15   install -dm755 ${pkgdir}/usr/share/hyphen
17   install -m644 hyph_el.dic "${pkgdir}/usr/share/hyphen/hyph_el_EL.dic"
19   # the symlinks
20   install -dm755 ${pkgdir}/usr/share/myspell/dicts
21   pushd $pkgdir/usr/share/myspell/dicts
22     for file in $pkgdir/usr/share/hyphen/*; do
23       ln -sv /usr/share/hyphen/$(basename $file) .
24     done
25   popd
27   # docs
28   install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
29   install -m644 README_hyph_el.txt "${pkgdir}/usr/share/doc/${pkgname}/README_hyph_el_EL.txt"