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

Antonio Rojas arojas at archlinux.org
Thu Apr 11 20:00:47 UTC 2019


    Date: Thursday, April 11, 2019 @ 20:00:46
  Author: arojas
Revision: 350587

https

Modified:
  mythes-fr/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-11 19:57:56 UTC (rev 350586)
+++ PKGBUILD	2019-04-11 20:00:46 UTC (rev 350587)
@@ -12,11 +12,10 @@
 md5sums=('0bfb1c5188bf19237885ee2cf2793edc')
 
 package() {
-  cd "${srcdir}"
   install -Dm644 thes_fr.idx ${pkgdir}/usr/share/mythes/th_fr_FR_v2.idx
   install -Dm644 thes_fr.dat ${pkgdir}/usr/share/mythes/th_fr_FR_v2.dat
 
-  pushd ${pkgdir}/usr/share/mythes/
+  pushd "${pkgdir}"/usr/share/mythes/
   fr_FR_aliases="fr_BE fr_CA fr_CH fr_LU"
   for lang in ${fr_FR_aliases}; do
         ln -s th_fr_FR_v2.idx "th_"${lang}"_v2.idx"
@@ -25,9 +24,9 @@
   popd
 
   # the symlinks
-  install -dm755 ${pkgdir}/usr/share/myspell/dicts
-  pushd ${pkgdir}/usr/share/myspell/dicts
-    for file in ${pkgdir}/usr/share/mythes/*; do
+  install -dm755 "${pkgdir}"/usr/share/myspell/dicts
+  pushd "${pkgdir}"/usr/share/myspell/dicts
+    for file in "${pkgdir}"/usr/share/mythes/*; do
       ln -s /usr/share/mythes/$(basename ${file}) .
     done
   popd
@@ -34,5 +33,5 @@
 
   # docs
   install -Dm644 README_thes_fr.txt \
-                ${pkgdir}/usr/share/doc/${pkgname}/README_th_fr_FR_v2.txt
+                "${pkgdir}"/usr/share/doc/${pkgname}/README_th_fr_FR_v2.txt
 }



More information about the arch-commits mailing list