updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / inadyn-fork / PKGBUILD
blobd24d0535a57689d61c36c3d7f44ea9faab9b97f6
1 # Maintainer: tri <trile7 at gmail dot com>
2 pkgname=inadyn-fork
3 _pkgname=inadyn
4 pkgver=1.98.0
5 pkgrel=2
6 pkgdesc="Simple dynamic DNS client - fork of the original INADYN implementation from Narcis Ilisei"
7 arch=('i686' 'x86_64')
8 url='http://freshmeat.net/projects/inadyn'
9 license=('GPL')
10 makedepends=('make')
11 depends=('bash')
12 install=(inadyn.install)
13 backup=(etc/inadyn.conf)
14 conflicts=('inadyn-opendns' 'inadyn')
15 provides=('inadyn')
16 source=(ftp://ftp.vmlinux.org/pub/People/jocke/"$_pkgname"/"$_pkgname"-"$pkgver".tar.bz2
17         $_pkgname.rc-script
18         $_pkgname.conf
20 md5sums=('158f01ee15f4fec03b490924295e721c'
21          '03b911f27d2acfac159d465c878503d7'
22          'f910c5778add779dfef4d680108513a2')
24 build() {
25   cd "$srcdir/$_pkgname-$pkgver"
26   
27   make || return 1
29   install -Dm755 src/$_pkgname $pkgdir/usr/sbin/$_pkgname
30   install -Dm644 man/$_pkgname.8 $pkgdir/usr/share/man/man8/$_pkgname.8
31   install -Dm644 man/$_pkgname.conf.5 $pkgdir/usr/share/man/man5/$_pkgname.conf.5
32   install -Dm644 README $pkgdir/usr/share/doc/$_pkgname/README
33   install -Dm755 ../$_pkgname.rc-script $pkgdir/etc/rc.d/$_pkgname
34   install -Dm644 ../$_pkgname.conf $pkgdir/etc/$_pkgname.conf