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

Andreas Radke andyrtr at archlinux.org
Mon Sep 23 19:25:25 UTC 2019


    Date: Monday, September 23, 2019 @ 19:25:25
  Author: andyrtr
Revision: 363296

fix quoting

Modified:
  gutenprint/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 19:22:43 UTC (rev 363295)
+++ PKGBUILD	2019-09-23 19:25:25 UTC (rev 363296)
@@ -16,7 +16,7 @@
 sha1sums=('edfab4bafe8e6420c7c321915eeb2dd16e899c59')
 
 prepare(){
-  cd ${pkgbase}-${pkgver}
+  cd "${pkgbase}"-${pkgver}
   # sbindir is not properly taken over there
   sed -i "s:cups_sbindir=\"\${cups_exec_prefix}\/sbin\":cups_sbindir=\"\${cups_exec_prefix}\/bin\":" m4local/stp_cups.m4
   autoreconf -vfi
@@ -23,7 +23,7 @@
 }
 
 build() {
-  cd ${pkgbase}-${pkgver}
+  cd "${pkgbase}"-${pkgver}
   ./configure --prefix=/usr \
     --sbindir=/usr/bin \
     --disable-rpath \
@@ -53,17 +53,17 @@
   replaces=('gimp-print')
   options=('!emptydirs')
   
-  cd ${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd "${pkgname}"-${pkgver}
+  make DESTDIR="${pkgdir}" install
   
   # split out files
-  mkdir $srcdir/tmp_foomatic-db-gutenprint-ppds
+  mkdir "$srcdir"/tmp_foomatic-db-gutenprint-ppds
   
-  mv ${pkgdir}/usr/share/cups/model $srcdir/tmp_foomatic-db-gutenprint-ppds/
+  mv "${pkgdir}"/usr/share/cups/model "$srcdir"/tmp_foomatic-db-gutenprint-ppds/
 
   # cleanup
-  rm -rf ${pkgdir}/usr/share/foomatic 
-  rm -rf ${pkgdir}/etc
+  rm -rf "${pkgdir}"/usr/share/foomatic 
+  rm -rf "${pkgdir}"/etc
 }
 
 package_foomatic-db-gutenprint-ppds() {
@@ -70,7 +70,7 @@
   pkgdesc="simplified prebuilt ppd files"
   optdepends=('cups:	to use cups printer spooler(recommended)')
   
-  cd ${pkgbase}-${pkgver}
-  mkdir -p ${pkgdir}/usr/share/cups
-  mv $srcdir/tmp_foomatic-db-gutenprint-ppds/* ${pkgdir}//usr/share/cups/
+  cd "${pkgbase}"-${pkgver}
+  mkdir -p "${pkgdir}"/usr/share/cups
+  mv "$srcdir"/tmp_foomatic-db-gutenprint-ppds/* "${pkgdir}"/usr/share/cups/
 }


More information about the arch-commits mailing list