diff options
Diffstat (limited to 'social/tinc')
-rw-r--r-- | social/tinc/PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
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/ } |