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

Andreas Radke andyrtr at archlinux.org
Wed Sep 25 16:33:47 UTC 2019


    Date: Wednesday, September 25, 2019 @ 16:33:46
  Author: andyrtr
Revision: 363379

fix quoting

Modified:
  lpsolve/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-25 16:32:38 UTC (rev 363378)
+++ PKGBUILD	2019-09-25 16:33:46 UTC (rev 363379)
@@ -20,9 +20,9 @@
 prepare() {
   cd ${_origname}_${_mainver}
   # add CFLAGS
-  patch -Np1 -i $srcdir/cflags.patch
+  patch -Np1 -i "$srcdir"/cflags.patch
   # by Fedora
-  patch -Np1 -i $srcdir/lpsolve-5.5.2.0.defines.patch
+  patch -Np1 -i "$srcdir"/lpsolve-5.5.2.0.defines.patch
 }
 
 build() {
@@ -39,8 +39,8 @@
 package() {
   cd ${_origname}_${_mainver}
 
-  install -dm755 ${pkgdir}/usr/{bin,lib,include/lpsolve}
-  install -m755 lp_solve/bin/ux*/lp_solve ${pkgdir}/usr/bin/
-  install -m755 lpsolve55/bin/ux*/liblpsolve55.so ${pkgdir}/usr/lib/
-  install -m644 lp*.h ${pkgdir}/usr/include/lpsolve/
+  install -dm755 "${pkgdir}"/usr/{bin,lib,include/lpsolve}
+  install -m755 lp_solve/bin/ux*/lp_solve "${pkgdir}"/usr/bin/
+  install -m755 lpsolve55/bin/ux*/liblpsolve55.so "${pkgdir}"/usr/lib/
+  install -m644 lp*.h "${pkgdir}"/usr/include/lpsolve/
 }


More information about the arch-commits mailing list