Date: Tuesday, October 8, 2019 @ 20:29:11 Author: arojas Revision: 364196
Fix quoting Modified: misdnuser/trunk/PKGBUILD ----------+ PKGBUILD | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-10-08 20:27:34 UTC (rev 364195) +++ PKGBUILD 2019-10-08 20:29:11 UTC (rev 364196) @@ -20,7 +20,7 @@ # only enable for debugging! #export CFLAGS+=" -g -O0" #export CXXFLAGS+=" -g -O0" - cd ${srcdir}/${pkgname} + cd ${pkgname} make ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --enable-capi --enable-softdsp --with-mISDN_group=uucp --localstatedir=/var make @@ -27,22 +27,22 @@ } package() { - cd ${srcdir}/${pkgname} - mkdir ${pkgdir}/var - make DESTDIR=${pkgdir} install + cd ${pkgname} + mkdir "${pkgdir}"/var + make DESTDIR="${pkgdir}" install # fix udev rule - mkdir -p ${pkgdir}/usr/lib/udev/rules.d - mv ${pkgdir}/etc/udev/rules.d/45-misdn.rules ${pkgdir}/usr/lib/udev/rules.d - rm -r ${pkgdir}/etc/udev/ + mkdir -p "${pkgdir}"/usr/lib/udev/rules.d + mv "${pkgdir}"/etc/udev/rules.d/45-misdn.rules "${pkgdir}"/usr/lib/udev/rules.d + rm -r "${pkgdir}"/etc/udev/ # add systemd files - install -D -m644 ${srcdir}/mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/mISDNcapid.service + install -D -m644 "${srcdir}"/mISDNcapid.service "${pkgdir}"/usr/lib/systemd/system/mISDNcapid.service # mISDNcapid: # tends to crash on avmfritz card, add an extra systemd file for # restarting the services until segfaults are fixed! - install -D -m644 ${srcdir}/c2faxrecv-mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/c2faxrecv-mISDNcapid.service - install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf + install -D -m644 "${srcdir}"/c2faxrecv-mISDNcapid.service "${pkgdir}"/usr/lib/systemd/system/c2faxrecv-mISDNcapid.service + install -D -m644 "${srcdir}"/mISDNcapid.conf "${pkgdir}"/usr/lib/tmpfiles.d/mISDNcapid.conf # remove /var/run/mISDNcapid - rm -r ${pkgdir}/var + rm -r "${pkgdir}"/var } md5sums=('SKIP' 'bfd47480a54b41394ba5cc3f53587130'