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

Antonio Rojas arojas at archlinux.org
Sat Sep 21 08:18:40 UTC 2019


    Date: Saturday, September 21, 2019 @ 08:18:39
  Author: arojas
Revision: 363189

Fix quoting

Modified:
  ifplugd/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-21 08:17:34 UTC (rev 363188)
+++ PKGBUILD	2019-09-21 08:18:39 UTC (rev 363189)
@@ -25,9 +25,9 @@
          '3dc2ce45d0e12d155ecc7a5bc9e3ee04')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p0 -i ${srcdir}/ifplugd-0.28-interface.patch
-  patch -p1 -i ${srcdir}/ifplugd-fix-return-value.patch
+  cd ${pkgname}-${pkgver}
+  patch -p0 -i ../ifplugd-0.28-interface.patch
+  patch -p1 -i ../ifplugd-fix-return-value.patch
   sed 's|/var/run|/run|' -i src/ifplugd.c
   ./configure --prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man --sysconfdir=/etc \
       --with-initdir=/etc/rc.d --disable-xmltoman --disable-subversion --disable-lynx
@@ -35,12 +35,12 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
 
-  install -D -m755 ${srcdir}/ifplugd-daemon ${pkgdir}/usr/bin/ifplugd-daemon
+  install -D -m755 "${srcdir}"/ifplugd-daemon "${pkgdir}"/usr/bin/ifplugd-daemon
   # remove the default init script and action script
-  rm -f ${pkgdir}/etc/{ifplugd/ifplugd.action,rc.d/ifplugd}
+  rm -f "${pkgdir}"/etc/{ifplugd/ifplugd.action,rc.d/ifplugd}
   # install systemd unit
-  install -D -m644 ${srcdir}/ifplugd.systemd ${pkgdir}/usr/lib/systemd/system/ifplugd at .service
+  install -D -m644 "${srcdir}"/ifplugd.systemd "${pkgdir}"/usr/lib/systemd/system/ifplugd at .service
 }



More information about the arch-commits mailing list