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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Aug 28 07:42:14 UTC 2020


    Date: Friday, August 28, 2020 @ 07:42:13
  Author: svenstaro
Revision: 690132

Fix variable quoting

Modified:
  mygui/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 07:41:26 UTC (rev 690131)
+++ PKGBUILD	2020-08-28 07:42:13 UTC (rev 690132)
@@ -15,11 +15,11 @@
 sha512sums=('3f560fd9c7e5b514da40e41c7753dc20649f80b763f5ee20afc9627df3be14242ea833eff09eac16b9e88b1c9fbed7c09def0c5068c832e710c247191fb53487')
 
 prepare() {
-  mkdir -p mygui-MyGUI$pkgver/build
+  mkdir -p mygui-MyGUI${pkgver}/build
 }
 
 build() {
-  cd mygui-MyGUI$pkgver/build
+  cd mygui-MyGUI${pkgver}/build
 
   # change CMake config so demos install to /opt
   sed -i 's:"bin:"../opt/MYGUI:' ../CMake/Utils/MyGUIConfigTargets.cmake
@@ -45,7 +45,7 @@
 }
 
 package() {
-  cd mygui-MyGUI$pkgver/build
+  cd mygui-MyGUI${pkgver}/build
 
   make DESTDIR="$pkgdir" install
 
@@ -55,8 +55,8 @@
   # chmod 775 $pkgdir/opt/MYGUI
 
   # install docs
-  install -d $pkgdir/usr/share/doc/
-  cp -r Docs/html $pkgdir/usr/share/doc/MYGUI
+  install -d "${pkgdir}"/usr/share/doc/
+  cp -r Docs/html "${pkgdir}"/usr/share/doc/MYGUI
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list