blob: f283cb96bce0846e38a6f1b4a5a01a0164742497 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD,v 1.13 2008/08/07 07:11:09 abhidg Exp $
# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: David Rosenstrauch <darose@darose.net>
pkgname=ddclient
pkgver=3.8.0
pkgrel=1
pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services."
arch=('i686' 'x86_64')
url="http://ddclient.sourceforge.net/"
license=('GPL2')
depends=('perl' 'perl-io-socket-ssl')
backup=('etc/ddclient.conf')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
ddclient.conf.dynamic.dyndns.sample
ddclient-foreground.patch)
build() {
cd ${srcdir}/$pkgname-${pkgver}
patch < ${srcdir}/ddclient-foreground.patch
# core files
install -D -m755 ddclient ${pkgdir}/usr/sbin/ddclient
install -D -m600 sample-etc_ddclient.conf ${pkgdir}/etc/ddclient/ddclient.conf.sample
install -D -m600 ${srcdir}/ddclient.conf.dynamic.dyndns.sample ${pkgdir}/etc/ddclient/
install -d ${pkgdir}/var/cache/ddclient
# additional instructions, sample configs
install -D -m644 README ${pkgdir}/etc/ddclient/README
}
md5sums=('6cac7a5eb1da781bfd4d98cef0b21f8e'
'4194825b9b4a7fcc1c57c2f5a4f6162b'
'd8ffc95f98f9afcb4a06a1e192220e35')
|