summaryrefslogtreecommitdiff
path: root/social/tinc
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-06 22:47:17 +0000
committerroot <root@rshg047.dnsready.net>2011-06-06 22:47:17 +0000
commit93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (patch)
tree1f60e792a546a9484aec590ce687df8f0ec6c697 /social/tinc
parentc81b3455112a3b09a8341fc8c45a91bd92c15a12 (diff)
Mon Jun 6 22:47:16 UTC 2011
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/
}