Date: Friday, November 19, 2021 @ 22:52:15 Author: eworm Revision: 1052810
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 1052809, zerotier-one/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: zerotier-one/repos/community-testing-x86_64/PKGBUILD (from rev 1052809, zerotier-one/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-11-19 22:52:15 UTC (rev 1052810) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Harry Jeffery <harry|@|exec64|.|co|.|uk> +# Contributor: Alex Jordan <alexander3223...@gmail.com> + +pkgname=zerotier-one +pkgver=1.8.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') +source=("$pkgname-$pkgver.tar.gz::https://github.com/zerotier/ZeroTierOne/archive/$pkgver.tar.gz") +sha512sums=('591d285b126fb21d3e207323a6fa5c46d630993f00f92548ea2a3851d63363ac3f959cde07e39ea7cf9bda19a2b9d9d129d2c8e003f71c0a8f97a364408e330c') + +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 +}