From 0312a836fd7650702bd6667fee9e949b585126d8 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 7 Jun 2013 00:17:01 -0700 Subject: Fri Jun 7 00:17:01 PDT 2013 --- extra/ifplugd/PKGBUILD | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'extra/ifplugd/PKGBUILD') diff --git a/extra/ifplugd/PKGBUILD b/extra/ifplugd/PKGBUILD index 91c354179..49b8c616a 100644 --- a/extra/ifplugd/PKGBUILD +++ b/extra/ifplugd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 165791 2012-08-30 09:38:27Z thomas $ +# $Id: PKGBUILD 187834 2013-06-06 18:34:52Z thomas $ # Contributor: Manolis Tzanidakis # Contributor: kevin # Maintainer: pkgname=ifplugd pkgver=0.28 -pkgrel=13 +pkgrel=14 pkgdesc="A daemon which brings up/down network interfaces upon cable insertion/removal." arch=('i686' 'x86_64') url="http://0pointer.de/lennart/projects/ifplugd" @@ -13,17 +13,15 @@ install=ifplugd.install license=('GPL2') depends=('libdaemon' 'bash') backup=('etc/ifplugd/ifplugd.conf') -options=('!makeflags') +options=('!makeflags' '!emptydirs') source=($url/${pkgname}-${pkgver}.tar.gz ifplugd-0.28-interface.patch ifplugd-fix-return-value.patch - ifplugd ifplugd-daemon ifplugd.systemd) md5sums=('df6f4bab52f46ffd6eb1f5912d4ccee3' '54eb22844b5aeed161c0b80aa9008570' 'f26dbd7597d9d637f0b2b104b11ab820' - '1ea9aa64415a5a9e27b84634cd08a7f2' 'f2e8a37af52b79ee0e3c5bcc2470ce10' '3dc2ce45d0e12d155ecc7a5bc9e3ee04') @@ -41,11 +39,9 @@ package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install - # replace the default init script & action files with ours. - install -D -m755 ${srcdir}/ifplugd ${pkgdir}/etc/rc.d/ifplugd install -D -m755 ${srcdir}/ifplugd-daemon ${pkgdir}/usr/bin/ifplugd-daemon - # remove default action script - rm -f ${pkgdir}/etc/ifplugd/ifplugd.action + # remove the default init script and action script + 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@.service } -- cgit v1.2.3-54-g00ecf