blob: 8c56c0fc202a849329959e61a0e7534d6cf0cf1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
pkgname=tinc
pkgver=1.0.13
pkgrel=2
pkgdesc="VPN (Virtual Private Network) daemon"
arch=(i686 x86_64)
url="http://www.tinc-vpn.org/"
license=('GPL')
depends=('lzo2' 'zlib' 'openssl')
source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz)
md5sums=('86263994d38c750431efd17e9a91a248')
build() {
cd "$startdir/src/$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make || return 1
make DESTDIR="$startdir/pkg" install
mkdir -p $startdir/pkg/etc/tinc/
tar xzvf doc/sample-config.tar.gz -C $startdir/pkg/etc/tinc/
}
|