updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tinc / PKGBUILD
blobcbe863c332c633a212e38ca5dde0884bbe4cd522
1 pkgname=tinc
2 pkgver=1.0.16
3 pkgrel=1
4 pkgdesc="VPN (Virtual Private Network) daemon"
5 arch=(i686 x86_64)
6 url="http://www.tinc-vpn.org/"
7 license=('GPL')
8 depends=('lzo2' 'zlib' 'openssl')
9 source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz)
10 md5sums=('f1c7ed94878725fb2cf4efb02bf160da')
12 build() {
13   cd "$startdir/src/$pkgname-$pkgver"
15   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
16   make
17   make DESTDIR="$startdir/pkg" install
19   mkdir -p $startdir/pkg/etc/tinc/
20   tar xzvf doc/sample-config.tar.gz -C $startdir/pkg/etc/tinc/