Date: Friday, August 28, 2020 @ 12:15:53 Author: freswa Revision: 690673
fix unquoted variables Modified: enigma/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-08-28 12:15:30 UTC (rev 690672) +++ PKGBUILD 2020-08-28 12:15:53 UTC (rev 690673) @@ -10,11 +10,11 @@ url="https://www.chiark.greenend.org.uk/~sgtatham/enigma/" license=('custom') depends=('ncurses') -source=("https://www.chiark.greenend.org.uk/~sgtatham/$pkgname/$pkgname-$pkgver.tar.gz") +source=("https://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${pkgver}.tar.gz") sha512sums=('a7de38cfae06b82c6b7007167157f65d7dd7cd9da5647896a78aff6ddcc8f4290103e6a9f5eb156fd63c2b763687f12eec0f29f5b9813bd2ca63f8b3ed2fda83') build() { - cd $srcdir/$pkgname-$pkgver + cd ${pkgname}-${pkgver} autoconf # Default CPP and CPPFLAGS cause errors. See FS#36228. ./configure --prefix=/usr --localstatedir=/var sed -i "s/root\.games/root.root/" Makefile @@ -22,8 +22,8 @@ } package() { - cd $srcdir/$pkgname-$pkgver - mkdir -p $pkgdir/usr/bin - make prefix=$pkgdir/usr localstatedir=$pkgdir/var install - install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/license + cd ${pkgname}-${pkgver} + mkdir -p "${pkgdir}"/usr/bin + make prefix="${pkgdir}"/usr localstatedir="${pkgdir}"/var install + install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/license }