updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / maradns2 / PKGBUILD
blob7cc74d0f0ecf8c4f49fe91bb04a3f7455bf50f78
1 # Maintainer: Frederick Arthur David Dalladay <fadd -at- faddish -dot- co>
3 pkgname=maradns2
4 pkgfile=maradns
5 pkgver=2.0.01
6 pkgrel=1
7 pkgdesc="A security-aware DNS server"
8 arch=('i686' 'x86_64')
9 depends=(glibc)
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"
13 license=('custom')
15 build() {
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}
20         
21         cd ${srcdir}/${pkgfile}-${pkgver}
22         make || return 1
23         #PREFIX="$pkgdir/usr"
24         #RPM_BUILD_ROOT="$PREFIX"
25         #make install
26         PREFIX=${pkgdir}/usr RPM_BUILD_ROOT=${pkgdir} make install || return 1
27         
28         install -m755 ../mara.startup ${pkgdir}/etc/rc.d/maradns
29         install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgfile}