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

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


    Date: Friday, August 28, 2020 @ 12:33:12
  Author: freswa
Revision: 690732

fix unquoted variables

Modified:
  lal/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 12:32:11 UTC (rev 690731)
+++ PKGBUILD	2020-08-28 12:33:12 UTC (rev 690732)
@@ -9,19 +9,19 @@
 url="http://projects.l3ib.org/lal/"
 license=('GPL3')
 depends=('libxft' 'libxt')
-source=(http://projects.l3ib.org/$pkgname/files/$pkgname-$pkgver.tar.gz)
+source=(http://projects.l3ib.org/${pkgname}/files/${pkgname}-${pkgver}.tar.gz)
 sha512sums=('ac5238ec9f68339f188ae743288998f3808fb5229ae1920f6b8dc93e4a3503494d011c7e39fe4b09d93ec3525cc4e20b5775c2b44f63a9708527b1291fd64eda')
 
 build() {
-  cd ${srcdir}/$pkgname
+  cd ${pkgname}
 
   make
 }
 
 package() {
-  cd ${srcdir}/$pkgname
+  cd ${pkgname}
 
-  install -D -m755 ${srcdir}/$pkgname/$pkgname ${pkgdir}/usr/bin/$pkgname
-  install -D -m644 ${srcdir}/$pkgname/docs/$pkgname.1 \
-    ${pkgdir}/usr/share/man/man1/$pkgname.1
+  install -D -m755 "${srcdir}"/${pkgname}/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
+  install -D -m644 "${srcdir}"/${pkgname}/docs/${pkgname}.1 \
+    "${pkgdir}"/usr/share/man/man1/${pkgname}.1
 }



More information about the arch-commits mailing list