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

Christian Hesse eworm at gemini.archlinux.org
Mon Jun 13 19:47:41 UTC 2022


    Date: Monday, June 13, 2022 @ 19:47:41
  Author: eworm
Revision: 1237814

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: zerotier-one/repos/community-testing-x86_64/PKGBUILD (from rev 1237813, zerotier-one/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-06-13 19:47:41 UTC (rev 1237814)
@@ -0,0 +1,38 @@
+# 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.10.0
+pkgrel=1
+pkgdesc='Creates virtual Ethernet networks of almost unlimited size.'
+arch=('x86_64')
+url='https://www.zerotier.com/'
+license=('custom:BSL')
+depends=('gcc-libs' 'libnatpmp' 'miniupnpc')
+makedepends=('rust')
+options=('!lto')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zerotier/ZeroTierOne/archive/$pkgver.tar.gz")
+sha512sums=('214878b002cc12dd0c0f920f1e7fd8881152b7232938c9a7994c808af066b739b04a6c1571a0ffca3ec4c703fbf126017b68b48cd9567bf4570055009ba70662')
+
+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