summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 84395d474f066356f044115c70be8190bb90902e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: LIN Ruohshoei <lin dot ruohshoei plus archlinux at gmail dot com>

pkgname=v2ray-plugin-bin
_pkgname=v2ray-plugin
pkgver=1.1.0
pkgrel=1
#_commit_ver=8cea1a3
_arch=linux_amd64
_arch_commit=linux-amd64
pkgdesc='Yet another SIP003 plugin for shadowsocks, based on v2ray (binary version)'
arch=('x86_64')
url='https://github.com/shadowsocks/v2ray-plugin'
license=('MIT')
#depends=('' '')
#makedepends=('go' 'git')
provide=("${_pkgname}")
conflicts=("shadowsocks-v2ray-plugin")
source=("https://github.com/shadowsocks/v2ray-plugin/releases/download/v$pkgver/${_pkgname}-${_arch_commit}-v${pkgver}.tar.gz"
        "https://raw.githubusercontent.com/shadowsocks/${_pkgname}/master/LICENSE")
sha256sums=('79efb20e4a8d834fdcfb5a3a1fe56ffa74d5c6eec539f4b3c51229848185f78f'
            'd903af2e15f43ddc5782ec20a0f1bdd090974ebea01ab02e0b015b76283ea666')
package() {
  install -Dm755 ${_pkgname}_${_arch} ${pkgdir}/usr/bin/${_pkgname}
  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE
  echo "README FILE: https://github.com/shadowsocks/v2ray-plugin/blob/master/README.md"
}