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

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


    Date: Monday, September 23, 2019 @ 19:18:26
  Author: andyrtr
Revision: 363292

fix quoting

Modified:
  foomatic-db/trunk/PKGBUILD

----------+
 PKGBUILD |   42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 19:13:38 UTC (rev 363291)
+++ PKGBUILD	2019-09-23 19:18:26 UTC (rev 363292)
@@ -67,17 +67,17 @@
  conflicts=('foomatic-db-foo2zjs')
  provides=('foomatic-db-foo2zjs')
 
-   cd ${srcdir}/foomatic-db
-   make DESTDIR=${pkgdir} install
+   cd "${srcdir}"/foomatic-db
+   make DESTDIR="${pkgdir}" install
    
    # add some docs
-   install -Dm644 USAGE ${pkgdir}/usr/share/doc/${pkgname}/USAGE
-   install -Dm644 README ${pkgdir}/usr/share/doc/${pkgname}/README
-   install -v -Dm644 ${srcdir}/${pkgname}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
-   install -Dm644 ${pkgdir}/usr/share/foomatic/db/source/PPD/Kyocera/ReadMe.htm ${pkgdir}/usr/share/doc/${pkgname}/Kyocera/ReadMe.htm
+   install -Dm644 USAGE "${pkgdir}"/usr/share/doc/${pkgname}/USAGE
+   install -Dm644 README "${pkgdir}"/usr/share/doc/${pkgname}/README
+   install -v -Dm644 "${srcdir}"/${pkgname}/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+   install -Dm644 "${pkgdir}"/usr/share/foomatic/db/source/PPD/Kyocera/ReadMe.htm "${pkgdir}"/usr/share/doc/${pkgname}/Kyocera/ReadMe.htm
    # remove files from foomatic-db-ppds pkg
-   rm -rf ${pkgdir}/usr/share/cups/model/foomatic-db-ppds
-   rm -rf ${pkgdir}/usr/share/foomatic/db/source/PPD
+   rm -rf "${pkgdir}"/usr/share/cups/model/foomatic-db-ppds
+   rm -rf "${pkgdir}"/usr/share/foomatic/db/source/PPD
 }
 
 package_foomatic-db-ppds() {
@@ -85,16 +85,16 @@
  pkgdesc="Foomatic - PPDs from printer manufacturers"
  license=('GPL' 'custom')
 
-   cd ${srcdir}/foomatic-db-ppds
-   make DESTDIR=${pkgdir} install
+   cd "${srcdir}"/foomatic-db-ppds
+   make DESTDIR="${pkgdir}" install
 
    # remove files from foomatic-db pkg
-   rm -rf ${pkgdir}/usr/share/foomatic/db/oldprinterids
-   rm -rf ${pkgdir}/usr/share/foomatic/db/source/{driver,opt,printer}
-   rm -rf ${pkgdir}/usr/share/foomatic/xmlschema
-   rm -f ${pkgdir}/usr/share/foomatic/db/source/PPD/Kyocera/ReadMe.htm
+   rm -rf "${pkgdir}"/usr/share/foomatic/db/oldprinterids
+   rm -rf "${pkgdir}"/usr/share/foomatic/db/source/{driver,opt,printer}
+   rm -rf "${pkgdir}"/usr/share/foomatic/xmlschema
+   rm -f "${pkgdir}"/usr/share/foomatic/db/source/PPD/Kyocera/ReadMe.htm
 
-   install -v -Dm644 ${srcdir}/${pkgname}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+   install -v -Dm644 "${srcdir}"/${pkgname}/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
 }
 
 package_foomatic-db-nonfree() {
@@ -104,11 +104,11 @@
  optdepends=('foomatic-db-nonfree-ppds: nonfree PPD files')
 
    cd ${srcdir}/foomatic-db-nonfree
-   make DESTDIR=${pkgdir} install
+   make DESTDIR="${pkgdir}" install
    # remove files from foomatic-db-nonfree-ppds pkg
-   rm -rf ${pkgdir}/usr/share/foomatic/db/source/PPD
+   rm -rf "${pkgdir}"/usr/share/foomatic/db/source/PPD
    
-   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+   install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
 }
 
 package_foomatic-db-nonfree-ppds() {
@@ -117,9 +117,9 @@
  license=('custom')
 
    cd ${srcdir}/foomatic-db-nonfree-ppds
-   make DESTDIR=${pkgdir} install
+   make DESTDIR="${pkgdir}" install
    # remove files from foomatic-db-nonfree pkg
-   rm -rf ${pkgdir}/usr/share/foomatic/db/source/driver
+   rm -rf "${pkgdir}"/usr/share/foomatic/db/source/driver
    
-   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+   install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
 }


More information about the arch-commits mailing list