1 # Maintainer: Frederick Arthur David Dalladay <fadd -at- faddish -dot- co>
7 pkgdesc="A security-aware DNS server"
10 source=(http://www.maradns.org/download/2.0/$pkgver/$pkgfile-$pkgver.tar.bz2 mara.startup)
11 md5sums=('1bd51e44dc4de44f9c9d87660a019f3f' 'fa891026331e2475121a4982b4a8b19c')
12 url="http://maradns.org"
16 install -d ${pkgdir}/usr/{bin,sbin} || return 1
17 install -d ${pkgdir}/usr/man/man{1,5,8} || return 1
18 install -d ${pkgdir}/etc/{maradns,rc.d} || return 1
19 install -d ${pkgdir}/usr/share/licenses/${pkgfile}
21 cd ${srcdir}/${pkgfile}-${pkgver}
24 #RPM_BUILD_ROOT="$PREFIX"
26 PREFIX=${pkgdir}/usr RPM_BUILD_ROOT=${pkgdir} make install || return 1
28 install -m755 ../mara.startup ${pkgdir}/etc/rc.d/maradns
29 install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgfile}