1 # Maintainer: Jens Adam (byte/jra) <j_adam@web.de>
6 pkgdesc="Update client for the dynamic DNS services from DynDNS and Namecheap"
7 url="http://code.google.com/p/ndyndns/"
11 install=${pkgname}.install
12 backup=('etc/ndyndns.conf')
13 source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
14 'ldflags-asneeded.patch'
17 md5sums=('0cdb4dcba5f8c1664f53884b3c2179e9'
18 '87839c15c14838ca54e7894485cca698'
19 'f0c69eb41db16a228ebf62c1561c89d6'
20 '525e890ba29c929170c45fbe07d7628b')
23 cd "${srcdir}"/${pkgname}-${pkgver}
24 patch < ../ldflags-asneeded.patch
25 ./configure --prefix=/usr
30 cd "${srcdir}"/${pkgname}-${pkgver}
31 install -d "${pkgdir}"/{etc/rc.d,usr/{sbin,share/man/man{1,5}}}
32 install -m600 ../ndyndns.conf "${pkgdir}"/etc
33 install ../ndyndns "${pkgdir}"/etc/rc.d
34 install ndyndns "${pkgdir}"/usr/sbin
35 gunzip ndyndns.{1,conf.5}.gz
36 install -m644 ndyndns.1 "${pkgdir}"/usr/share/man/man1
37 install -m644 ndyndns.conf.5 "${pkgdir}"/usr/share/man/man5
38 install -d "${pkgdir}"/{usr/share/doc,var/lib}/ndyndns
39 install -m644 CHANGES DESIGN README "${pkgdir}"/usr/share/doc/ndyndns