[arch-commits] Commit in man-pages-cs/trunk (PKGBUILD)

Frederik Schwan freswa at archlinux.org
Fri Aug 28 12:36:50 UTC 2020


    Date: Friday, August 28, 2020 @ 12:36:49
  Author: freswa
Revision: 690743

fix unquoted variables

Modified:
  man-pages-cs/trunk/PKGBUILD

----------+
 PKGBUILD |   38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 12:36:48 UTC (rev 690742)
+++ PKGBUILD	2020-08-28 12:36:49 UTC (rev 690743)
@@ -16,30 +16,30 @@
 sha512sums=('6061301293401ce9d808a046f6aa128f5b0c69e033ff420acb27e1e3f68884c7575013fc4b22d378e7aeaffa1dd8cd903238bc690c9d07044907238af6c6e8b5')
 
 package() {
-  tar xfa ${srcdir}/$pkgname-$pkgver.tar.lzma
+  tar xfa ${pkgname}-${pkgver}.tar.lzma
 
-  cd ${srcdir}/$pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
 
   #removing conflicting files
-  rm ${srcdir}/$pkgname-$pkgver/procps/{kill.1,uptime.1}
-  rm ${srcdir}/$pkgname-$pkgver/coreutils/man/{groups.1,du.1}
-  rm ${srcdir}/$pkgname-$pkgver/man-pages/man1/{dir.1,vdir.1}
-  rm ${srcdir}/$pkgname-$pkgver/man-pages/man5/passwd.5
+  rm ${pkgname}-${pkgver}/procps/{kill.1,uptime.1}
+  rm ${pkgname}-${pkgver}/coreutils/man/{groups.1,du.1}
+  rm ${pkgname}-${pkgver}/man-pages/man1/{dir.1,vdir.1}
+  rm ${pkgname}-${pkgver}/man-pages/man5/passwd.5
 
   #installing files
-  install -d ${pkgdir}/usr/share/man/cs/man{1,2,3,4,5,6,7,8}
-  find . -name '*.1' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man1
-  find . -name '*.2' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man2
-  find . -name '*.3' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man3
-  find . -name '*.4' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man4
-  find . -name '*.5' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man5
-  find . -name '*.6' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man6
-  find . -name '*.7' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man7
-  find . -name '*.8' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man8
+  install -d "${pkgdir}"/usr/share/man/cs/man{1,2,3,4,5,6,7,8}
+  find . -name '*.1' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t "${pkgdir}"/usr/share/man/cs/man1
+  find . -name '*.2' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t "${pkgdir}"/usr/share/man/cs/man2
+  find . -name '*.3' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t "${pkgdir}"/usr/share/man/cs/man3
+  find . -name '*.4' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t "${pkgdir}"/usr/share/man/cs/man4
+  find . -name '*.5' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t "${pkgdir}"/usr/share/man/cs/man5
+  find . -name '*.6' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t "${pkgdir}"/usr/share/man/cs/man6
+  find . -name '*.7' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t "${pkgdir}"/usr/share/man/cs/man7
+  find . -name '*.8' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t "${pkgdir}"/usr/share/man/cs/man8
 
   #licenses
-  install -D -m644 ${srcdir}/$pkgname-$pkgver/README \
-    ${pkgdir}/usr/share/licenses/$pkgname/README
-  install -D -m644 ${srcdir}/$pkgname-$pkgver/CONTRIB \
-    ${pkgdir}/usr/share/licenses/$pkgname/CONTRIB
+  install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/README \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/README
+  install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/CONTRIB \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/CONTRIB
 }



More information about the arch-commits mailing list