blob: d3061875a029041e7106c85248d2ba8d78ec6522 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Maintainer: Shiwei Zhang <ylxdzsw@gmail.com>
pkgname=v2socks
pkgdesc="An opinioned lightweight socks5 server and vmess (v2ray) client."
pkgrel=1
pkgver=0.2.4
arch=(any)
url='https://github.com/ylxdzsw/v2socks'
license=(GPL3)
makedepends=(cargo)
source=("https://github.com/ylxdzsw/v2socks/archive/v$pkgver.tar.gz")
md5sums=(5964079a3f037a59bd0f0cdefe264f6a)
package() {
cd "$srcdir/v2socks-$pkgver"
cargo build --release
install -D "$srcdir"/v2socks-$pkgver/target/release/v2socks "$pkgdir"/usr/bin/v2socks
install -Dm644 "$srcdir"/v2socks-$pkgver/v2socks.service "$pkgdir"/usr/lib/systemd/system/v2socks.service
}
|