Date: Wednesday, February 15, 2023 @ 22:39:57
  Author: artafinde
Revision: 1400711

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 1400710, zerotier-one/trunk/PKGBUILD)

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

Copied: zerotier-one/repos/community-testing-x86_64/PKGBUILD (from rev 1400710, 
zerotier-one/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2023-02-15 22:39:57 UTC (rev 1400711)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Harry Jeffery <harry|@|exec64|.|co|.|uk>
+# Contributor: Alex Jordan <[email protected]>
+
+pkgname=zerotier-one
+pkgver=1.10.3
+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=('8012a76e9fa541d4acad58bd7bd2a133e1946b55a2fda8983e3829287a2b2eddc63ff9893c70e8a04b4ef705a63d7d4375c6aceb77132ca09a3b405a116ccab7')
+
+prepare() {
+  cd ZeroTierOne-$pkgver
+  sed \
+    -e 's/sbin/bin/' \
+    -e 's/LDFLAGS=/LDFLAGS?=/' \
+    -e 's/RUSTFLAGS=/RUSTFLAGS?=/' \
+    -e 's/cargo build $(RUSTFLAGS)/cargo build --release/' \
+    -i make-linux.mk debian/zerotier-one.service
+}
+
+build() {
+  cd ZeroTierOne-$pkgver
+  make V=1
+}
+
+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
+}

Reply via email to