summaryrefslogtreecommitdiff
path: root/social/tinc
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-06-06 11:49:41 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-06-06 11:49:41 -0300
commit574ed570a9e7c7f598732f613cf314a08a34e995 (patch)
treefd1cb531a3ba6658c02607c69aa2a0aa51d17148 /social/tinc
parent5ff54ad02119443095365ce7ce4a2cb04fc31383 (diff)
tinc-1.0.14-1
Diffstat (limited to 'social/tinc')
-rw-r--r--social/tinc/PKGBUILD23
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/
}