summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 856a06c7e1a771d5fb1f48b21a222aed5ea71b86 (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
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"
}