updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / inadyn-opendns / PKGBUILD
blob75e8dc1aef616d527b6dec7a38a552a0e031eefb
1 # Contributor: Bug <Bug2000@gmail.com>
2 # Maintainer: Bug <Bug2000@gmail.com>
3 pkgname=inadyn-opendns
4 pkgver=1.99
5 pkgrel=3
6 pkgdesc="Simple dynamic DNS client with SSL support"
7 arch=('i686')
8 url="http://www.opendns.com/account/dynamic_dns/downloads"
9 license=('GPL')
10 makedepends=('unzip')
11 depends=('curl')
12 conflicts=('inadyn')
13 provides=('inadyn')
14 backup=('etc/inadyn.conf')
15 install=('inadyn-opendns.install')
16 source=("http://www.opendns.com/support/ddns_files/inadyn.source.v$pkgver.zip"
17         'inadyn.rc-script')
18 md5sums=('0f2cf9c3ea3482c03e1c42f8480f1c55'
19          '73c61f9939546c28119242a1e12ffcff')
21 build() {
22   cd "$srcdir/inadyn.source.v$pkgver"
24   make || return 1
26   install -Dm755 bin/linux/inadyn $pkgdir/usr/sbin/inadyn
27   install -Dm644 man/inadyn.8 $pkgdir/usr/share/man/man8/inadyn.8
28   install -Dm644 man/inadyn.conf.5 $pkgdir/usr/share/man/man5/inadyn.conf.5
29   install -Dm644 readme.html $pkgdir/usr/share/doc/inadyn/readme.html
30   install -Dm755 $srcdir/inadyn.rc-script $pkgdir/etc/rc.d/inadyn
31   install -Dm644 inadyn.conf $pkgdir/etc/inadyn.conf