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

Andreas Radke andyrtr at archlinux.org
Wed Sep 25 17:30:12 UTC 2019


    Date: Wednesday, September 25, 2019 @ 17:30:12
  Author: andyrtr
Revision: 363393

fix quoting

Modified:
  sqlite/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-25 17:27:19 UTC (rev 363392)
+++ PKGBUILD	2019-09-25 17:30:12 UTC (rev 363393)
@@ -59,20 +59,20 @@
  replaces=("sqlite3")
 
   cd sqlite-src-$_srcver
-  make DESTDIR=${pkgdir} install
+  make DESTDIR="${pkgdir}" install
 
-  install -m755 showdb showjournal showstat4 showwal sqldiff ${pkgdir}/usr/bin/
+  install -m755 showdb showjournal showstat4 showwal sqldiff "${pkgdir}"/usr/bin/
 
   # install manpage
-  install -m755 -d ${pkgdir}/usr/share/man/man1
-  install -m644 sqlite3.1 ${pkgdir}/usr/share/man/man1/
+  install -m755 -d "${pkgdir}"/usr/share/man/man1
+  install -m644 sqlite3.1 "${pkgdir}"/usr/share/man/man1/
 
   # license - no linking required because pkgbase=pkgname
-  install -D -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgbase}/license.txt
+  install -D -m644 "${srcdir}"/license.txt "${pkgdir}"/usr/share/licenses/${pkgbase}/license.txt
 
   # split out tcl extension
-  mkdir $srcdir/tcl
-  mv $pkgdir/usr/lib/sqlite* $srcdir/tcl
+  mkdir "$srcdir"/tcl
+  mv "$pkgdir"/usr/lib/sqlite* "$srcdir"/tcl
 }
 
 package_sqlite-tcl() {
@@ -82,15 +82,15 @@
  provides=("sqlite3-tcl=$pkgver")
  replaces=("sqlite3-tcl")
 
-  install -m755 -d ${pkgdir}/usr/lib
-  mv $srcdir/tcl/* ${pkgdir}/usr/lib
+  install -m755 -d "${pkgdir}"/usr/lib
+  mv "$srcdir"/tcl/* "${pkgdir}"/usr/lib
 
   # install manpage
-  install -m755 -d ${pkgdir}/usr/share/man/mann
-  install -m644 ${srcdir}/sqlite-src-$_srcver/autoconf/tea/doc/sqlite3.n ${pkgdir}/usr/share/man/mann/
+  install -m755 -d "${pkgdir}"/usr/share/man/mann
+  install -m644 "${srcdir}"/sqlite-src-$_srcver/autoconf/tea/doc/sqlite3.n "${pkgdir}"/usr/share/man/mann/
 
   # link license
-  install -m755 -d ${pkgdir}/usr/share/licenses
+  install -m755 -d "${pkgdir}"/usr/share/licenses
   ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 
@@ -100,8 +100,8 @@
  depends=('sqlite' 'tcl')
 
   cd sqlite-src-$_srcver
-  install -m755 -d ${pkgdir}/usr/bin
-  install -m755 sqlite3_analyzer ${pkgdir}/usr/bin/
+  install -m755 -d "${pkgdir}"/usr/bin
+  install -m755 sqlite3_analyzer "${pkgdir}"/usr/bin/
 }
 
 package_sqlite-doc() {
@@ -112,6 +112,6 @@
  replaces=("sqlite3-doc")
 
   cd sqlite-doc-${_docver}
-  mkdir -p ${pkgdir}/usr/share/doc/${pkgbase}
-  cp -R *  ${pkgdir}/usr/share/doc/${pkgbase}/
+  mkdir -p "${pkgdir}"/usr/share/doc/${pkgbase}
+  cp -R *  "${pkgdir}"/usr/share/doc/${pkgbase}/
 }



More information about the arch-commits mailing list