blob: ef349f8a85e57539e38b02955bc1f24d24c0162f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Brian Clemens <brian@tiuxo.com>
pkgname=zerotier-one-git
pkgver=1.2.12
pkgrel=1
pkgdesc="Creates virtual Ethernet networks of almost unlimited size."
arch=('x86_64')
url="https://www.zerotier.com/index.html"
license=('GPL3')
depends=('gcc-libs' 'libnatpmp' 'miniupnpc')
makedepends=('ruby-ronn')
conflicts=('zerotier-one')
source=("git+git://github.com/zerotier/ZeroTierOne.git")
sha512sums=('SKIP')
prepare() {
cd ZeroTierOne
sed -i 's/sbin/bin/' make-linux.mk debian/zerotier-one.service
}
build() {
cd ZeroTierOne
make
}
check() {
cd ZeroTierOne
make selftest
./zerotier-selftest
}
package() {
cd ZeroTierOne
make DESTDIR="$pkgdir" install
install -Dm644 debian/zerotier-one.service "$pkgdir"/usr/lib/systemd/system/zerotier-one.service
}
|