[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Wed Jan 30 19:05:47 UTC 2019


    Date: Wednesday, January 30, 2019 @ 19:05:46
  Author: felixonmars
Revision: 428660

addpkg: shadowsocks-v2ray-plugin 1.0-1

Added:
  shadowsocks-v2ray-plugin/
  shadowsocks-v2ray-plugin/repos/
  shadowsocks-v2ray-plugin/trunk/
  shadowsocks-v2ray-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Added: shadowsocks-v2ray-plugin/trunk/PKGBUILD
===================================================================
--- shadowsocks-v2ray-plugin/trunk/PKGBUILD	                        (rev 0)
+++ shadowsocks-v2ray-plugin/trunk/PKGBUILD	2019-01-30 19:05:46 UTC (rev 428660)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=shadowsocks-v2ray-plugin
+pkgver=1.0
+pkgrel=1
+pkgdesc='A SIP003 plugin based on v2ray for shadowsocks'
+arch=('x86_64')
+url='https://github.com/shadowsocks/v2ray-plugin'
+license=('GPL')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/v2ray-plugin/archive/v$pkgver.tar.gz")
+sha512sums=('0202bf7c0624ed323fd90647f2e3042528c3ce7b2b100c2f9bfe9a50042569fdb96ceca178473acc39c52a3dc0ff4c067ee567ddfc537877cbb27593bab43611')
+
+build() {
+  cd v2ray-plugin-$pkgver
+  go build
+}
+
+package() {
+  cd v2ray-plugin-$pkgver
+  install -Dm755 v2ray-plugin "$pkgdir"/usr/bin/v2ray-plugin
+}



More information about the arch-commits mailing list