# Contributor: Michael Mason # Maintainer: Natanael Copa pkgname=dhcpcd pkgver=5.2.9 pkgrel=0 pkgdesc="RFC2131 compliant DHCP client" url="http://roy.marples.name/projects/dhcpcd/" license="BSD-2" depends= makedepends= install= subpackages="$pkgname-doc" source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2 dhcpcd.initd" build() { cd "$srcdir/$pkgname-$pkgver" ./configure --libexecdir=/lib/dhcpcd \ --dbdir=/var/lib/dhcpcd \ || return 1 make } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm755 "$srcdir"/dhcpcd.initd "$pkgdir"/etc/init.d/dhcpcd } md5sums="aabe4a3c1f23c55f2c99a416c9085de9 dhcpcd-5.2.9.tar.bz2 ecbd807cf3f87d7c5b6095bf63f26894 dhcpcd.initd"