pkgname=inadyn
pkgver=1.96.2
pkgrel=4
pkgdesc="Simple dynamic DNS client"
url="http://www.dyndns.com/support/kb/using_inadyn_with_dyndns_services.html"
makedepends=('unzip')
arch=('i686' 'x86_64')
license=('GPL')
source=(http://cdn.dyndns.com/$pkgname.zip run)
	

build() {
  cd $startdir/src/$pkgname
  install -m755 -D bin/linux/$pkgname $startdir/pkg/usr/sbin/$pkgname
  install -m644 -D man/$pkgname.8 $startdir/pkg/usr/man/man8/$pkgname.8
  install -m644 -D man/$pkgname.conf.5 $startdir/pkg/usr/man/man5/$pkgname.conf.5
  install -m755 -D ../run $startdir/pkg/etc/sv/inadyn/run
}