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

Tom Gundersen tomegun at nymeria.archlinux.org
Thu May 30 10:23:24 EDT 2013


    Date: Thursday, May 30, 2013 @ 16:23:24
  Author: tomegun
Revision: 186691

upgpkg: dhcpcd 5.6.8-2

usrmove

Modified:
  dhcpcd/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 14:22:42 UTC (rev 186690)
+++ PKGBUILD	2013-05-30 14:23:24 UTC (rev 186691)
@@ -5,7 +5,7 @@
 
 pkgname=dhcpcd
 pkgver=5.6.8
-pkgrel=1
+pkgrel=2
 pkgdesc="RFC2131 compliant DHCP client daemon"
 url="http://roy.marples.name/projects/dhcpcd/"
 arch=('i686' 'x86_64')
@@ -37,10 +37,6 @@
   cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
 
-  # Create Binary Symlink
-  install -d ${pkgdir}/usr/sbin
-  ln -sf /sbin/dhcpcd ${pkgdir}/usr/sbin/dhcpcd
-
   # Install Configuration File used in /etc/rc.d/network
   install -D -m644 ../dhcpcd.conf.d $pkgdir/etc/conf.d/$pkgname
 
@@ -55,4 +51,8 @@
   # install systemd files
   install -Dm644 ${srcdir}/dhcpcd_.service ${pkgdir}/usr/lib/systemd/system/dhcpcd at .service
   install -Dm644 ${srcdir}/dhcpcd.service ${pkgdir}/usr/lib/systemd/system/dhcpcd.service # FS#31543
+
+  # usrmove
+  cd "$pkgdir"
+  mv sbin usr/bin
 }



More information about the arch-commits mailing list