blob: b625853bcab8141fe5c47cbdc5e20d663f3cdfa4 (
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
36
37
38
39
40
41
42
43
|
# Maintainer: Martin Weinelt <martin@darmstadt.freifunk.net>
# things can get a little crashy at times, so better have debug symbols handy
# OPTIONS+=(debug !strip)
pkgname=tinc-pre-git
pkgver=1.1pre15.13.ge88b3fb5
pkgrel=1
pkgdesc="Virtual Private Network daemon (prerelease)"
arch=('any')
url="http://www.tinc-vpn.org/"
license=('GPL')
depends=('lzo' 'openssl')
makedepends=('git')
optdepends=('python2' 'wxpython: gui support')
provides=('tinc-pre')
conflicts=('tinc' 'tinc-pre' 'tinc-pre-systemd')
source=('git+https://github.com/gsliepen/tinc#branch=1.1')
_gitname=tinc
pkgver() {
cd "$_gitname"
git describe --tags | sed 's/-/./g' | cut -d'.' -f2-
}
build() {
cd "$_gitname"
autoreconf -fsi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
make
}
package() {
cd "$_gitname"
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/tinc/bash_completion.d/tinc" -t "$pkgdir/usr/share/bash-completion/completions/"
install -Dm644 "$srcdir/tinc/systemd/tinc.service" -t "$pkgdir/usr/lib/systemd/system/"
install -Dm644 "$srcdir/tinc/systemd/tinc@.service" -t "$pkgdir/usr/lib/systemd/system/"
}
md5sums=('SKIP')
|