[arch-commits] Commit in hunspell-fr/trunk (PKGBUILD)

Guillaume Alaux guillaume at archlinux.org
Sat May 30 13:54:16 UTC 2015


    Date: Saturday, May 30, 2015 @ 15:54:16
  Author: guillaume
Revision: 239923

Cosmetic fixes of PKGBUILD

Modified:
  hunspell-fr/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-30 13:51:34 UTC (rev 239922)
+++ PKGBUILD	2015-05-30 13:54:16 UTC (rev 239923)
@@ -15,30 +15,30 @@
 
 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
+  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/
+  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
+    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
+  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 -Dm644 README_dict_fr.txt ${pkgdir}/usr/share/doc/${pkgname}/README_dict_fr.txt
+  install -Dm644 README_dict_fr.txt "${pkgdir}"/usr/share/doc/${pkgname}/README_dict_fr.txt
 
   # license
-  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list