From bc22d7884ab642bda3c47a1f1cbbdd65ae22b4ff Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 7 Jun 2012 21:56:35 +0200 Subject: hunspell-fr, ajout 4.5-1 (cherry picked from commit b9b1fa7f3447cdb265216c0777f6a9839b522428) --- hunspell-fr/Pkgfile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 hunspell-fr/Pkgfile (limited to 'hunspell-fr/Pkgfile') diff --git a/hunspell-fr/Pkgfile b/hunspell-fr/Pkgfile new file mode 100644 index 000000000..a0fa457da --- /dev/null +++ b/hunspell-fr/Pkgfile @@ -0,0 +1,32 @@ +# Description: Dictionnaire français hunspell +# URL: http://www.dicollecte.org/ +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: hunspell +# Run on: hunspell + +name=hunspell-fr +version=4.5 +release=1 +source=(http://www.dicollecte.org/download/fr/${name}-moderne-v${version}.zip) + +build() { + install -dm755 $PKG/usr/share/hunspell + install -m644 fr-moderne.dic $PKG/usr/share/hunspell/fr_FR.dic + install -m644 fr-moderne.aff $PKG/usr/share/hunspell/fr_FR.aff + pushd $PKG/usr/share/hunspell/ + fr_FR_aliases="fr_BE fr_CA fr_CH fr_LU" + for lang in ${fr_FR_aliases}; do + ln -s fr_FR.aff ${lang}.aff + ln -s fr_FR.dic ${lang}.dic + done + popd + install -dm755 $PKG/usr/share/myspell/dicts + pushd $PKG/usr/share/myspell/dicts + for file in $PKG/usr/share/hunspell/*; do + ln -sv /usr/share/hunspell/$(basename ${file}) . + done + popd + +} + -- cgit v1.2.3-70-g09d2