1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Jeff Mickey <jeff@archlinux.org>
3 # Contributor: Mirko Messer <mirk@chao.ch>
8 pkgdesc="A simple python script to register your dynamic IP address using the NIC V2.0 protocol"
10 url="http://ipcheck.sourceforge.net/"
13 backup=('etc/ipcheck.conf')
14 source=(ipcheck-$pkgver.py::https://downloads.sourceforge.net/project/ipcheck/ipcheck.py
15 ipcheck-$pkgver.conf::https://downloads.sourceforge.net/project/ipcheck/ipcheck.conf)
16 sha512sums=('a6137b1458f69cae484aa3da7132e6e51b6fe374ad1f868f8f40e17e72d77bd0428233ab07f4a100c867fea58834b17edff8a1b422278cb5c61af2766d2957e3'
17 'fe9d68fcd98c586653c2f6b40d32c61293951487703fe15a1dde033d5c658edd11301c25648261a994dcca37e0c5f88d29d2a91494865b5696c3ae626487218b')
20 sed -i -e '1,1d' -e '1,1i#!/usr/bin/python2' "$srcdir"/ipcheck-$pkgver.py
24 install -Dm755 "$srcdir"/ipcheck-$pkgver.py "$pkgdir"/usr/bin/ipcheck
25 install -Dm644 "$srcdir"/ipcheck-$pkgver.conf "$pkgdir"/etc/ipcheck.conf