updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / inadyn / PKGBUILD
blobc22d3a99bcbdb152df1a608da83d4627d4b33169
1 # Contributor: Dag Odenhall <dag.odenhall@gmail.com>
2 # Maintainer : Inxsible <inxsible at gmail dot com>
3 # Maintainer: Frikilinux <frikilinux at frikilinux.com.ar>
4 pkgname=inadyn
5 pkgver=1.96.2
6 pkgrel=3
7 pkgdesc="Simple dynamic DNS client"
8 arch=('i686' 'x86_64')
9 url='http://www.inatech.eu/inadyn/'
10 license=('GPL')
11 makedepends=('make')
12 depends=('bash')
13 conflicts=('inadyn-opendns')
14 provides=('inadyn')
15 install=('inadyn.install')
16 backup=(etc/inadyn.conf)
17 source=(http://www.inatech.eu/inadyn/inadyn.v$pkgver.zip
18         $pkgname.rc-script
19         $pkgname.conf
21 md5sums=('702a127f13b96eee38d60c6f30b20efa'
22          '03b911f27d2acfac159d465c878503d7'
23          'f910c5778add779dfef4d680108513a2')
25 build() {
26   cd "$srcdir/$pkgname"
27   
28   make || return 1
30   install -Dm755 bin/linux/$pkgname $pkgdir/usr/sbin/$pkgname
31   install -Dm644 man/$pkgname.8 $pkgdir/usr/share/man/man8/$pkgname.8
32   install -Dm644 man/$pkgname.conf.5 $pkgdir/usr/share/man/man5/$pkgname.conf.5
33   install -Dm644 readme.html $pkgdir/usr/share/doc/$pkgname/readme.html
34   install -Dm755 ../$pkgname.rc-script $pkgdir/etc/rc.d/$pkgname
35   install -Dm644 ../$pkgname.conf $pkgdir/etc/$pkgname.conf