[arch-commits] Commit in zerotier-one/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Dec 1 14:51:17 UTC 2017


    Date: Friday, December 1, 2017 @ 14:51:16
  Author: felixonmars
Revision: 271096

archrelease: copy trunk to community-x86_64

Added:
  zerotier-one/repos/community-x86_64/
  zerotier-one/repos/community-x86_64/PKGBUILD
    (from rev 271095, zerotier-one/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: zerotier-one/repos/community-x86_64/PKGBUILD (from rev 271095, zerotier-one/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-12-01 14:51:16 UTC (rev 271096)
@@ -0,0 +1,38 @@
+# $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=2
+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')
+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/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