summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 774a975e27418122155c1a40198d595e46ec3e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Attenuation <ouyangjun1999@gmail.com>
pkgname=kytan-git
pkgver=0903be12
pkgrel=1
pkgdesc='High Performance Peer-to-Peer VPN by rust'
arch=('x86_64')
url='https://github.com/changlan/kytan'
license=('MIT')
makedepends=('rust')
depends=()
source=("${pkgname}::git+${url}")
sha256sums=('SKIP')

build() {
  cd "$pkgname"
  cargo build --release
}

package() {
  cd "$pkgname"
  install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
}