diff options
author | Brian Clemens | 2019-01-12 17:04:02 +0900 |
---|---|---|
committer | Brian Clemens | 2019-01-12 17:04:02 +0900 |
commit | ecc165b902b0000a1c290988d6360c9827384664 (patch) | |
tree | 8b08e14b60574f4faa024e06a098af8ac5b2b625 /PKGBUILD | |
parent | 15c27bdf005b7568d1a6fcd21de0a2391485e7a3 (diff) | |
download | aur-ecc165b902b0000a1c290988d6360c9827384664.tar.gz |
Use dev branch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Brian Clemens <brian@tiuxo.com> pkgname=zerotier-one-git -pkgver=1.2.12 +pkgver=pkgver pkgrel=1 pkgdesc="Creates virtual Ethernet networks of almost unlimited size." arch=('x86_64') @@ -9,8 +9,8 @@ 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") +conflics=('zerotier-one') +source=("git+git://github.com/zerotier/ZeroTierOne.git#branch=dev") sha512sums=('SKIP') prepare() { @@ -35,3 +35,7 @@ package() { install -Dm644 debian/zerotier-one.service "$pkgdir"/usr/lib/systemd/system/zerotier-one.service } +pkgver() { + cd ZeroTierOne + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} |