diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0ec4cadda487 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Mélanie Chauvel (ariasuni) <perso@hack-libre.org> +# Based on hunspell-* PKGBUILDs + +pkgname=hunspell-eo +pkgver=20100216 +pkgrel=1 +pkgdesc="Esperanto hunspell dictionary" +arch=(any) +url="http://www.esperantilo.org/" +license=('GPL2') +optdepends=('hunspell: the spell checking libraries and apps') +source=("http://www.esperantilo.org/literumilo-fontoj.tar.gz") +md5sums=('a190ad0995cb13b307ba968e7662ee9c') + +package() { + cd "${srcdir}" + install -dm755 ${pkgdir}/usr/share/hunspell + install -m644 literumilo-fontoj/eo_cxorig.dic ${pkgdir}/usr/share/hunspell/eo.dic + install -m644 literumilo-fontoj/eo_cxorig.aff ${pkgdir}/usr/share/hunspell/eo.aff + + pushd ${pkgdir}/usr/share/hunspell/ + + popd + + # 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 +} |