upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / ipcheck / trunk / PKGBUILD
blob9e882a095a9491249366a51bc4be0e436bb077fb
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Jeff Mickey <jeff@archlinux.org>
3 # Contributor: Mirko Messer <mirk@chao.ch>
5 pkgname=ipcheck
6 pkgver=20140422
7 pkgrel=2
8 pkgdesc="A simple python script to register your dynamic IP address using the NIC V2.0 protocol"
9 arch=(any)
10 url="http://ipcheck.sourceforge.net/"
11 license=('GPL')
12 depends=('python2')
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')
19 build() {
20   sed -i -e '1,1d' -e '1,1i#!/usr/bin/python2' "$srcdir"/ipcheck-$pkgver.py
23 package() {
24   install -Dm755 "$srcdir"/ipcheck-$pkgver.py "$pkgdir"/usr/bin/ipcheck
25   install -Dm644 "$srcdir"/ipcheck-$pkgver.conf "$pkgdir"/etc/ipcheck.conf