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

Christian Hesse eworm at archlinux.org
Sat Sep 28 21:54:37 UTC 2019


    Date: Saturday, September 28, 2019 @ 21:54:36
  Author: eworm
Revision: 363520

fix unquoted variables

Modified:
  libidn/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-28 21:44:45 UTC (rev 363519)
+++ PKGBUILD	2019-09-28 21:54:36 UTC (rev 363520)
@@ -10,7 +10,7 @@
 arch=('x86_64')
 license=('GPL3' 'LGPL')
 depends=('glibc')
-source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
 validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C'  # Simon Josefsson <simon at josefsson.org>
               '1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen at gmx.de>
 sha256sums=('f11af1005b46b7b15d057d7f107315a1ad46935c7fcdf243c16e46ec14f0fe1e'
@@ -17,20 +17,24 @@
             'SKIP')
 
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
+  cd "${pkgname}-${pkgver}"
+
+  ./configure \
+    --prefix=/usr
   make
 }
 
 check() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${pkgver}"
+
   make check
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd "${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
   # doc html installation - gtk-doc isn't supported anymore - FS#55151
-  mkdir -p ${pkgdir}/usr/share/gtk-doc/html/${pkgname}
-  cp -r -v doc/reference/html/* ${pkgdir}/usr/share/gtk-doc/html/${pkgname}
+  mkdir -p "${pkgdir}/usr/share/gtk-doc/html/${pkgname}"
+  cp -r -v doc/reference/html/* "${pkgdir}/usr/share/gtk-doc/html/${pkgname}"
 }


More information about the arch-commits mailing list