blob: 90cdc709c3b1e152e8d816cf9cd0f2fc864b0e22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Kieran Colford <kieran@kcolford.com>
pkgname=ddns-git
pkgver=2.1.2.r5.g6d1c965
pkgrel=1
pkgdesc="Automatic provisioning of dynamic DNS"
arch=('any')
url="https://github.com/kcolford/ddns"
license=('GPL')
groups=()
depends=('bash' 'bind-tools' 'coreutils' 'inetutils' 'sed' 'systemd')
makedepends=('git')
optdepends=('curl: for looking up your ip address'
'openssh: for updating SSHFP records'
'postfix: MX records will be added if the mail server is online')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
options=()
install=
source=("git+$url")
md5sums=('SKIP')
noextract=()
pkgver() {
cd "$srcdir/ddns"
git describe --long | sed 's/v//;s/-/.r/;s/-/./g'
}
package() {
cd "$srcdir/ddns"
make DESTDIR="$pkgdir"/usr install
}
|