[arch-commits] Commit in nvidia-cg-toolkit/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Aug 28 07:43:47 UTC 2020
Date: Friday, August 28, 2020 @ 07:43:46
Author: svenstaro
Revision: 690135
Fix variable quoting
Modified:
nvidia-cg-toolkit/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-28 07:42:52 UTC (rev 690134)
+++ PKGBUILD 2020-08-28 07:43:46 UTC (rev 690135)
@@ -1,4 +1,4 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
# Contributor: Adam Griffiths
# Contributor: Nick B <Shirakawasuna at gmail _dot_ com>
pkgname=nvidia-cg-toolkit
@@ -18,12 +18,10 @@
install -dm755 "${pkgdir}"/usr/include/Cg
install -m644 "${srcdir}"/usr/include/Cg/* "${pkgdir}"/usr/include/Cg
install -dm755 "${pkgdir}"/usr/lib
- [ "$CARCH" = "i686" ] && install -m644 "${srcdir}"/usr/lib/* "${pkgdir}"/usr/lib
- [ "$CARCH" = "x86_64" ] && install -m644 "${srcdir}"/usr/lib64/* "${pkgdir}"/usr/lib
- install -Dm644 "${srcdir}"/usr//local/Cg/docs/license.txt "${pkgdir}"/usr/share/licenses/nvidia-cg-toolkit/license.txt
+ install -Dm644 "${srcdir}"/usr/local/Cg/docs/license.txt "${pkgdir}"/usr/share/licenses/nvidia-cg-toolkit/license.txt
cp -r "${srcdir}"/usr/local/Cg "${pkgdir}"/usr/share/
- find $pkgdir/usr/share/ -type d -exec chmod -R 755 '{}' ';'
- find $pkgdir/usr/share/ -type f -exec chmod -R 644 '{}' ';'
+ find "${pkgdir}"/usr/share/ -type d -exec chmod -R 755 '{}' ';'
+ find "${pkgdir}"/usr/share/ -type f -exec chmod -R 644 '{}' ';'
}
# vim: sw=2:ts=2 et:
More information about the arch-commits
mailing list