[arch-commits] Commit in zerotier-one/repos (2 files)
Levente Polyak
anthraxx at archlinux.org
Sat Apr 7 21:08:30 UTC 2018
Date: Saturday, April 7, 2018 @ 21:08:29
Author: anthraxx
Revision: 314919
archrelease: copy trunk to community-staging-x86_64
Added:
zerotier-one/repos/community-staging-x86_64/
zerotier-one/repos/community-staging-x86_64/PKGBUILD
(from rev 314918, zerotier-one/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: zerotier-one/repos/community-staging-x86_64/PKGBUILD (from rev 314918, zerotier-one/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-04-07 21:08:29 UTC (rev 314919)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Harry Jeffery <harry|@|exec64|.|co|.|uk>
+# Contributor: Alex Jordan <alexander3223098 at gmail.com>
+
+pkgname=zerotier-one
+pkgver=1.2.4
+pkgrel=4
+pkgdesc="Creates virtual Ethernet networks of almost unlimited size."
+arch=('x86_64')
+url="https://www.zerotier.com/index.html"
+license=('GPL3')
+depends=('gcc-libs' 'http-parser' 'libnatpmp' 'miniupnpc' 'libminiupnpc.so')
+makedepends=('ruby-ronn')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zerotier/ZeroTierOne/archive/$pkgver.tar.gz")
+sha512sums=('82adb110208d24ae2745e3839810afcac87955de050ebfe0517a7dc2a875881dafd40c1b16a041742d8c4d0f6513abcc71d6ea3e06c2fb89b47be2630a500363')
+
+prepare() {
+ cd ZeroTierOne-$pkgver
+ sed -i 's|"2.."|"2..*"|' make-linux.mk
+ sed -i 's/sbin/bin/' make-linux.mk debian/zerotier-one.service
+}
+
+build() {
+ cd ZeroTierOne-$pkgver
+ make
+}
+
+check() {
+ cd ZeroTierOne-$pkgver
+ make selftest
+ ./zerotier-selftest
+}
+
+package() {
+ cd ZeroTierOne-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 debian/zerotier-one.service "$pkgdir"/usr/lib/systemd/system/zerotier-one.service
+}
More information about the arch-commits
mailing list