summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 160bc73c1b5fbe1f5873ab5d52209869e36fe2bd (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/kytan "$pkgdir/usr/bin/kytan"
}