diff --git a/srcpkgs/dnsmasq/template b/srcpkgs/dnsmasq/template
index 597f0a57d13..3bb559dc029 100644
--- a/srcpkgs/dnsmasq/template
+++ b/srcpkgs/dnsmasq/template
@@ -1,6 +1,6 @@
 # Template file for 'dnsmasq'
 pkgname=dnsmasq
-version=2.77
+version=2.78
 revision=1
 hostmakedepends="pkg-config"
 makedepends="dbus-devel libcap-devel libidn-devel"
@@ -11,8 +11,8 @@ short_desc="Lightweight, easy to configure DNS forwarder and DHCP server"
 maintainer="Juan RP <xtraeme@voidlinux.eu>"
 license="GPL-2"
 homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html"
-distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
-checksum=ae97a68c4e64f07633f31249eb03190d673bdb444a05796a3a2d3f521bfe9d38
+distfiles="http://www.thekelleys.org.uk/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=c92e5d78aa6353354d02aabf74590d08980bb1385d8a00b80ef9bc80430aa1dc
 
 do_build() {
 	echo '#define HAVE_DBUS' >> src/config.h