# Compiling Time: 0.02 SBU # Maintainer: DeX77 # Contributor: DNAku pkgname=dnsmasq pkgver=2.91 pkgrel=1 pkgdesc="Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server." url="http://thekelleys.org.uk/dnsmasq/doc.html" archs=('x86_64') depends=('dbus') makedepends=('gettext') backup=(etc/dnsmasq.conf) groups=('network-extra') up2date="lynx -dump http://www.thekelleys.org.uk/dnsmasq |grep 'LATEST'|sed 's/ //g'|sed 's/.].*//g'|sed 's/.*_//g'|sed -e '/^$/d'" source=(http://thekelleys.org.uk/dnsmasq/$pkgname-$pkgver.tar.gz \ dnsmasq.conf) sha1sums=('f4860fd0218487a552427db55858efae5048bd61' \ '0765e86572ba55d77b0550a96191495eac9a7133') _F_systemd_units=(dnsmasq=) Finclude systemd subpkgs=('dnsmasq-contrib') subdescs=('This script can be used to implement persistent leases on openWRT, DD-WRT etc.') subdepends=('') subgroups=('network-extra') subarchs=('x86_64') build() { Fcd Fbuild Ffilerel dbus/dnsmasq.conf /etc/dbus-1/system.d/dnsmasq.conf Ffilerel contrib/systemd/dnsmasq.service usr/lib/systemd/system/dnsmasq.service Ffile /etc/dnsmasq.conf Fmkdir var/lib/misc Fdoc $pkgname-$pkgver/doc.html Fgenscriptlet Fexe $_F_cd_path/contrib/wrt/lease_update.sh usr/bin/lease_update.sh Fsplit dnsmasq-contrib usr/bin/lease_update.sh } # optimization OK