[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Dec 1 14:50:35 UTC 2017


    Date: Friday, December 1, 2017 @ 14:50:34
  Author: felixonmars
Revision: 271095

addpkg: zerotier-one 1.2.4-2

Added:
  zerotier-one/
  zerotier-one/repos/
  zerotier-one/trunk/
  zerotier-one/trunk/PKGBUILD

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

Added: zerotier-one/trunk/PKGBUILD
===================================================================
--- zerotier-one/trunk/PKGBUILD	                        (rev 0)
+++ zerotier-one/trunk/PKGBUILD	2017-12-01 14:50:34 UTC (rev 271095)
@@ -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
+}


Property changes on: zerotier-one/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list