mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
37 lines
1.5 KiB
Bash
37 lines
1.5 KiB
Bash
# maintainer (x86_64): Giuseppe calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=ddclient
|
|
pkgver=3.8.2
|
|
pkgrel=2
|
|
pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services."
|
|
arch=('x86_64')
|
|
url="http://ddclient.sourceforge.net/"
|
|
license=('GPL2')
|
|
depends=('perl' 'perl-io-socket-ssl')
|
|
categories=('network')
|
|
backup=('etc/ddclient/ddclient.conf' 'etc/conf.d/ddclient')
|
|
install=ddclient.install
|
|
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
|
|
"ddclient.service"
|
|
"ddclient.conf.d")
|
|
md5sums=('62cd5fe93ced2c794d5f441f9d908841'
|
|
'60becc303d6f8ede649df1bdde0a5896'
|
|
'b8f39c82827776da948b76ef83544d33')
|
|
|
|
package() {
|
|
cd ${srcdir}/ddclient-${pkgver}
|
|
|
|
# core files
|
|
install -D -m755 ddclient ${pkgdir}/usr/sbin/ddclient
|
|
install -D -m755 ${srcdir}/ddclient.service ${pkgdir}/usr/lib/systemd/system/ddclient.service
|
|
install -D -m600 sample-etc_ddclient.conf ${pkgdir}/etc/ddclient/ddclient.conf
|
|
install -D -m644 ${srcdir}/ddclient.conf.d ${pkgdir}/etc/conf.d/ddclient
|
|
install -d ${pkgdir}/var/cache/ddclient
|
|
|
|
# additional instructions, sample configs
|
|
install -D -m644 README.md ${pkgdir}/etc/ddclient/samples/README.md
|
|
install -D -m644 sample-etc_cron.d_ddclient ${pkgdir}/etc/ddclient/samples/sample-etc_cron.d_ddclient
|
|
install -D -m644 sample-etc_dhcpc_dhcpcd-eth0.exe ${pkgdir}/etc/ddclient/samples/sample-etc_dhcpc_dhcpcd-eth0.exe
|
|
install -D -m644 sample-etc_ppp_ip-up.local ${pkgdir}/etc/ddclient/samples/sample-etc_ppp_ip-up.local
|
|
}
|