[arch-commits] Commit in tinc/repos (2 files)
Johannes Löthberg
demize at archlinux.org
Fri Oct 4 13:50:57 UTC 2019
Date: Friday, October 4, 2019 @ 13:50:56
Author: demize
Revision: 512733
archrelease: copy trunk to community-testing-x86_64
Added:
tinc/repos/community-testing-x86_64/
tinc/repos/community-testing-x86_64/PKGBUILD
(from rev 512732, tinc/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: tinc/repos/community-testing-x86_64/PKGBUILD (from rev 512732, tinc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2019-10-04 13:50:56 UTC (rev 512733)
@@ -0,0 +1,44 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: helios
+# Contributor: Lothar Gesslein
+# Contributor: Dominik George <nik at naturalnet.de>
+
+pkgname=tinc
+pkgver=1.0.36
+pkgrel=1
+
+pkgdesc="VPN (Virtual Private Network) daemon"
+url="https://www.tinc-vpn.org/"
+arch=('x86_64')
+license=('GPL')
+
+depends=('lzo' 'openssl' 'zlib')
+
+source=(https://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig})
+
+md5sums=('535b58ee026ec9551954dcc6ed56edca'
+ 'SKIP')
+validpgpkeys=('D62BDD168EFBE48BC60E8E234A6084B9C0D71F4A')
+
+build() {
+ cd tinc-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --with-systemd=/usr/lib/systemd/system
+ make
+}
+
+package() {
+ cd tinc-$pkgver
+
+ make DESTDIR="$pkgdir/" install
+ install -dm755 "$pkgdir"/usr/share/tinc/examples
+ cp -a doc/sample-config/. "$pkgdir"/usr/share/tinc/examples/
+ find "$pkgdir"/usr/share/tinc/examples -type f -exec chmod 644 {} +
+ find "$pkgdir"/usr/share/tinc/examples -type d -exec chmod 755 {} +
+}
More information about the arch-commits
mailing list