Date: Saturday, September 21, 2019 @ 08:21:00 Author: arojas Revision: 363190
Fix quoting Modified: ispell/trunk/PKGBUILD ----------+ PKGBUILD | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-09-21 08:18:39 UTC (rev 363189) +++ PKGBUILD 2019-09-21 08:21:00 UTC (rev 363190) @@ -16,39 +16,39 @@ '359eca8bfb77db63785c4c304ecd3568b26cdf736946388e509933fc8a3f66bd') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} - sed -i -e 's/#undef USG/#define USG/' \ - -e 's|/usr/local|/usr|' \ - -e 's|/lib|/lib/ispell|' local.h.linux - cp local.h.linux local.h - make TMPDIR=/tmp all + sed -i -e 's/#undef USG/#define USG/' \ + -e 's|/usr/local|/usr|' \ + -e 's|/lib|/lib/ispell|' local.h.linux + cp local.h.linux local.h + make TMPDIR=/tmp all } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} - # creating directory structure - install -dm755 ${pkgdir}/usr/{bin,lib/ispell,share/man/man{1,5}} +# creating directory structure + install -dm755 "${pkgdir}"/usr/{bin,lib/ispell,share/man/man{1,5}} - # Installing binary tools - for b in buildhash findaffix icombine ijoin ispell iwhich munchlist tryaffix; do - install -m755 $b ${pkgdir}/usr/bin/ - done +# Installing binary tools + for b in buildhash findaffix icombine ijoin ispell iwhich munchlist tryaffix; do + install -m755 $b "${pkgdir}"/usr/bin/ + done - # Installing man pages - install -m644 ispell.1 ${pkgdir}/usr/share/man/man1/ispell.1 - install -m644 ispell.5 ${pkgdir}/usr/share/man/man5/ispell.5 +# Installing man pages + install -m644 ispell.1 "${pkgdir}"/usr/share/man/man1/ispell.1 + install -m644 ispell.5 "${pkgdir}"/usr/share/man/man5/ispell.5 - # Installing dictionnaries - install -m644 languages/american/americanmed.hash \ - ${pkgdir}/usr/lib/ispell/americanmed.hash - install -m644 languages/english/english.aff \ - ${pkgdir}/usr/lib/ispell/english.aff - ln -s americanmed.hash ${pkgdir}/usr/lib/ispell/american.hash - ln -s americanmed.hash ${pkgdir}/usr/lib/ispell/english.hash +# Installing dictionnaries + install -m644 languages/american/americanmed.hash \ + "${pkgdir}"/usr/lib/ispell/americanmed.hash + install -m644 languages/english/english.aff \ + "${pkgdir}"/usr/lib/ispell/english.aff + ln -s americanmed.hash "${pkgdir}"/usr/lib/ispell/american.hash + ln -s americanmed.hash "${pkgdir}"/usr/lib/ispell/english.hash - # Installing license - install -Dm644 ${srcdir}/license.txt \ - ${pkgdir}/usr/share/licenses/${pkgname}/license.txt +# Installing license + install -Dm644 "${srcdir}"/license.txt \ + "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt }