This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 5th, 2013  |  syntax: Python  |  size: 1.63 KB  |  views: 49  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: irgaly <irgaly@gmail.com>
  2. pkgname=ddclient-valuedomain
  3. pkgver=3.8.1
  4. pkgrel=3
  5. pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services.Supporting VALUE-DOMAIN."
  6. arch=('any')
  7. url="http://ddclient.sourceforge.net/"
  8. license=('GPL2')
  9. depends=('perl' 'perl-io-socket-ssl')
  10. provides=('ddclient')
  11. conflicts=('ddclient')
  12. backup=('etc/ddclient/ddclient.conf' 'etc/conf.d/ddclient')
  13. install=ddclient.install
  14. source=("http://downloads.sourceforge.net/project/ddclient/ddclient/ddclient-$pkgver/ddclient-$pkgver.tar.bz2"
  15.         "ddclient-valuedomain-$pkgver.patch"
  16.         "ddclient.conf.d"
  17.         "ddclient.service")
  18.  
  19. build() {
  20.   cd "$srcdir/ddclient-$pkgver"
  21.  
  22.   patch < $srcdir/ddclient-valuedomain-$pkgver.patch
  23. }
  24.  
  25. package() {
  26.   cd "$srcdir/ddclient-$pkgver"
  27.  
  28.   # core files
  29.   install -Dm755 {,$pkgdir/usr/bin/}ddclient
  30.   install -Dm600 sample-etc_ddclient.conf $pkgdir/etc/ddclient/ddclient.conf
  31.   install -Dm644 $srcdir/ddclient.conf.d $pkgdir/etc/conf.d/ddclient
  32.   install -Dm644 {$srcdir/,$pkgdir/usr/lib/systemd/system/}ddclient.service
  33.   install -d ${pkgdir}/var/cache/ddclient
  34.  
  35.   # additional instructions, sample configs
  36.   install -Dm644 {,$pkgdir/etc/ddclient/samples/}README
  37.   install -Dm644 {,$pkgdir/etc/ddclient/samples/}sample-etc_cron.d_ddclient
  38.   install -Dm644 {,$pkgdir/etc/ddclient/samples/}sample-etc_dhcpc_dhcpcd-eth0.exe
  39.   install -Dm644 {,$pkgdir/etc/ddclient/samples/}sample-etc_ppp_ip-up.local
  40. }
  41. md5sums=('7fa417bc65f8f0e6ce78418a4f631988'
  42.          '929fdff52c924a802829107b48416055'
  43.          'b8f39c82827776da948b76ef83544d33'
  44.          'ca1f538398cf478a2ba4ad5e6adfe03b')
clone this paste RAW Paste Data