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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jul 14 01:02:08 UTC 2020


    Date: Tuesday, July 14, 2020 @ 01:02:07
  Author: svenstaro
Revision: 391885

Properly quote variables

Modified:
  assimp/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-13 20:54:04 UTC (rev 391884)
+++ PKGBUILD	2020-07-14 01:02:07 UTC (rev 391885)
@@ -9,16 +9,16 @@
 license=('BSD')
 depends=('zlib' 'gcc-libs' 'boost-libs')
 makedepends=('cmake' 'boost')
-url='http://assimp.sourceforge.net/index.html'
+url='https://assimp.org/'
 source=("$pkgname-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz")
 sha512sums=('51b704ffea778638b9e228578650f62691c56ee1a90337f8bbbee37e807455466d818234be24852334e5806260e5690932c9bd8e00f055c5c26782e0636538f0')
 
 prepare() {
-	mkdir ${srcdir}/${pkgname}-${pkgver}/build
+	mkdir "${srcdir}"/${pkgname}-${pkgver}/build
 }
 
 build() {
-	cd ${srcdir}/${pkgname}-${pkgver}/build
+	cd "${srcdir}"/${pkgname}-${pkgver}/build
 
 	cmake .. \
         -DCMAKE_INSTALL_PREFIX=/usr \
@@ -28,8 +28,8 @@
 }
 
 package()  {
-	cd ${srcdir}/${pkgname}-${pkgver}/build
+	cd "${srcdir}"/${pkgname}-${pkgver}/build
 
-	make DESTDIR=$pkgdir install
-	install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+	make DESTDIR="$pkgdir" install
+	install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list