blob: d4050651ad677d0b50b15df49713e39f9d2f3fbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=gandi-automatic-dns
pkgver=2.3.0
pkgrel=1
pkgdesc="Script that updates Gandi DNS reccords to point at a machine's external IP address."
arch=('any')
url='https://github.com/brianreumere/gandi-automatic-dns'
license=('custom:ISC')
depends=('openssl')
optdepends=(
'net-tools: to discover external IP on interface using ifconfig'
'bind-tools: to discover external IP via DNS request using dig'
)
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('d461b3215bd4fa19c249550ce45ef06d7493d39988b3a6f0816dea8d86e1ed7f')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -D -m 0755 gad "${pkgdir}/usr/bin/gad"
install -D -m 0644 LICENSE "${pkgdir}/usr/share/licenses/gandi-automatic-dns/LICENSE"
install -D -m 0644 README.md "${pkgdir}/usr/share/doc/gandi-automatic-dns/README.md"
}
|