[arch-commits] Commit in (4 files)

Guillaume Alaux guillaume at archlinux.org
Thu Dec 30 22:12:46 UTC 2010


    Date: Thursday, December 30, 2010 @ 17:12:45
  Author: guillaume
Revision: 104226

Initial commit

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

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

Added: hyphen-fr/trunk/PKGBUILD
===================================================================
--- hyphen-fr/trunk/PKGBUILD	                        (rev 0)
+++ hyphen-fr/trunk/PKGBUILD	2010-12-30 22:12:45 UTC (rev 104226)
@@ -0,0 +1,39 @@
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+
+pkgname=hyphen-fr
+pkgver=2.0
+pkgrel=1
+pkgdesc="French hyphenation rules"
+arch=(any)
+url="http://www.dicollecte.org/"
+license=('LGPL')
+optdepends=('hyphen: offers hyphenation library functions')
+source=(http://www.dicollecte.org/download/fr/hyph_fr_${pkgver/./-}.zip)
+md5sums=('92edc6c92481600cd6c10cf42cd2cd3f')
+
+package() {
+  cd "${srcdir}"
+  install -dm755 ${pkgdir}/usr/share/hyphen
+  install -m644 hyph_fr_FR.dic ${pkgdir}/usr/share/hyphen/hyph_fr_FR.dic
+
+  pushd ${pkgdir}/usr/share/hyphen/
+  fr_FR_aliases="fr_BE fr_CA fr_CH fr_LU"
+  for lang in ${fr_FR_aliases}; do
+        ln -s hyph_fr_FR.dic hyph_${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/hyphen/*; do
+      ln -sv /usr/share/hyphen/$(basename ${file}) .
+    done
+  popd
+  
+  # docs
+  install -dm755 ${pkgdir}/usr/share/doc/${pkgname}
+  install -m644 README_hyph_fr.txt \
+                ${pkgdir}/usr/share/doc/${pkgname}/README_hyph_fr.txt
+}


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




More information about the arch-commits mailing list