Date: Thursday, December 30, 2010 @ 17:09:25
  Author: guillaume
Revision: 104225

Initial commit

Added:
  hunspell-fr/
  hunspell-fr/repos/
  hunspell-fr/trunk/
  hunspell-fr/trunk/PKGBUILD

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Added: hunspell-fr/trunk/PKGBUILD
===================================================================
--- hunspell-fr/trunk/PKGBUILD                          (rev 0)
+++ hunspell-fr/trunk/PKGBUILD  2010-12-30 22:09:25 UTC (rev 104225)
@@ -0,0 +1,40 @@
+# Maintainer: Guillaume ALAUX <guilla...@archlinux.org>
+
+pkgname=hunspell-fr
+pkgver=3.8
+pkgrel=1
+pkgdesc="French (modern) hunspell dictionaries"
+arch=(any)
+url="http://www.dicollecte.org/";
+license=('GPL' 'MPL' 'LGPL')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=(http://www.dicollecte.org/download/fr/${pkgname}-moderne-v${pkgver}.zip)
+md5sums=('960317a6160d568e41e99bf50ad138e4')
+
+package() {
+  cd "${srcdir}"
+  install -dm755 ${pkgdir}/usr/share/hunspell
+  install -m644 fr-moderne.dic ${pkgdir}/usr/share/hunspell/fr_FR.dic
+  install -m644 fr-moderne.aff ${pkgdir}/usr/share/hunspell/fr_FR.aff
+
+  pushd ${pkgdir}/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
+
+  # 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
+  
+  # docs
+  install -dm755 ${pkgdir}/usr/share/doc/${pkgname}
+  install -m644 README_fr.txt $pkgdir/usr/share/doc/${pkgname}/README_fr.txt
+}


Property changes on: hunspell-fr/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Reply via email to