From 574ed570a9e7c7f598732f613cf314a08a34e995 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 6 Jun 2011 11:49:41 -0300 Subject: tinc-1.0.14-1 --- social/tinc/PKGBUILD | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'social') 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