From 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Jun 2011 22:47:17 +0000 Subject: Mon Jun 6 22:47:16 UTC 2011 --- social/tinc/PKGBUILD | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'social/tinc') diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD index 8c56c0fc2..c2a7dc51c 100644 --- a/social/tinc/PKGBUILD +++ b/social/tinc/PKGBUILD @@ -1,21 +1,26 @@ pkgname=tinc -pkgver=1.0.13 -pkgrel=2 +pkgver=1.0.14 +pkgrel=1 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') +md5sums=('967dfafc4aa41a614c1d2739df8a8372') build() { - cd "$startdir/src/$pkgname-$pkgver" + cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var - make || return 1 - make DESTDIR="$startdir/pkg" install + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install - mkdir -p $startdir/pkg/etc/tinc/ - tar xzvf doc/sample-config.tar.gz -C $startdir/pkg/etc/tinc/ + install -d $pkgdir/etc/tinc + tar xzvf doc/sample-config.tar.gz -C $pkgdir/etc/tinc/ } -- cgit v1.2.3-54-g00ecf