blob: 7ebc493d515022891a4daf85abe7b4a75e3ec314 (
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
34
35
|
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: David Schury <dasc at posteo de>
pkgname=inadyn-git
pkgver=2.9.1.r12.g5e510c5
pkgrel=1
pkgdesc="Dynamic DNS client with SSL/TLS support"
arch=('x86_64')
url="http://troglobit.com/inadyn.html"
license=('GPL')
depends=('ca-certificates' 'confuse' 'openssl')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
backup=('etc/inadyn.conf')
source=("$pkgname::git+https://github.com/troglobit/inadyn.git")
sha256sums=('SKIP')
pkgver() {
git -C $pkgname describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin --enable-openssl
make
}
package() {
cd $pkgname
install -Dm600 examples/inadyn.conf -t "$pkgdir/etc"
make DESTDIR="$pkgdir" install-strip
}
|