[arch-commits] Commit in dhcpcd/trunk (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Mon Sep 7 19:41:54 UTC 2009
Date: Monday, September 7, 2009 @ 15:41:54
Author: ronald
Revision: 51352
upgpkg: dhcpcd 5.1.0-1
update to latest version; dhcpcd now comes with configure file
Modified:
dhcpcd/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-09-07 19:39:18 UTC (rev 51351)
+++ PKGBUILD 2009-09-07 19:41:54 UTC (rev 51352)
@@ -4,7 +4,7 @@
# Contributor: Judd Vinet <jvinet.zeroflux.org>
pkgname=dhcpcd
-pkgver=5.0.7
+pkgver=5.1.0
pkgrel=1
pkgdesc="RFC2131 compliant DHCP client daemon"
url="http://roy.marples.name/dhcpcd/"
@@ -16,19 +16,14 @@
options=('emptydirs') # We Need the Empty /var/lib/dhcpcd Directory
source=("http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2" \
'dhcpcd.conf.d')
-md5sums=('1c85790576deb6106879430b24e1fa9c'
+md5sums=('beb430d11f982881ce3d824643467490'
'372d33485556982b64a97f301e17c5dd')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- # Fix Installation Locations
- export PREFIX=/usr
- sed -i 's/${PREFIX}\/etc/\/etc/' Makefile || return 1
- sed -i 's/\/db/\/lib\/dhcpcd/' Makefile || return 1
- sed -i 's/\/libexec/\/lib\/dhcpcd/' Makefile || return 1
- sed -i 's/\/libexec/\/lib\/dhcpcd/' dhcpcd-hooks/Makefile || return 1
- sed -i 's/${PREFIX}\/sbin/\/sbin/' Makefile || return 1
+ # configure variables
+ ./configure --libexecdir=/usr/lib/dhcpcd --dbdir=/var/lib/dhcpcd
# Build
make || return 1
@@ -46,9 +41,6 @@
awk '{if(FNR<27)print $0}' ${srcdir}/${pkgname}-${pkgver}/config.h \
>> ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
- # Make Man Pages FHS Compliant
- mv -f ${pkgdir}/usr/man ${pkgdir}/usr/share/man || return 1
-
# Set Options in /etc/dhcpcd.conf
echo noipv4ll >> ${pkgdir}/etc/dhcpcd.conf || return 1 # Disable ip4vall
}
More information about the arch-commits
mailing list