summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormutantmonkey2016-12-18 13:22:07 -0800
committermutantmonkey2016-12-18 13:22:07 -0800
commit517338a2f8aff2f894177d70e7e88521da71a07c (patch)
tree2a63b9897882dca3c8f3c563551b0f21cc9cc1ac
downloadaur-517338a2f8aff2f894177d70e7e88521da71a07c.tar.gz
Initial upload: snowflake-pt-client-git 186.7e9066a-1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD32
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..67b761a2868
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sun Dec 18 21:22:07 UTC 2016
+pkgbase = snowflake-pt-client-git
+ pkgdesc = Snowflake is a pluggable transport that proxies traffic through temporary proxies using WebRTC
+ pkgver = 186.7e9066a
+ pkgrel = 1
+ url = https://trac.torproject.org/projects/tor/wiki/doc/Snowflake
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ makedepends = go
+ depends = libx11
+ options = !strip
+ options = !emptydirs
+ source = git+https://git.torproject.org/pluggable-transports/snowflake.git
+ sha256sums = SKIP
+
+pkgname = snowflake-pt-client-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..df78abe1d67
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: mutantmonkey <aur@mutantmonkey.in>
+pkgname=snowflake-pt-client-git
+_gitname=snowflake
+pkgver=186.7e9066a
+pkgrel=1
+pkgdesc="Snowflake is a pluggable transport that proxies traffic through temporary proxies using WebRTC"
+arch=('i686' 'x86_64')
+url="https://trac.torproject.org/projects/tor/wiki/doc/Snowflake"
+license=('BSD')
+depends=('libx11')
+makedepends=('git' 'go')
+options=('!strip' '!emptydirs')
+source=('git+https://git.torproject.org/pluggable-transports/snowflake.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_gitname
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+build() {
+ cd "$srcdir/$_gitname/client"
+ GOPATH="$srcdir" GOBIN="$PWD" go get -v
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ install -Dm755 client/client "${pkgdir}/usr/bin/snowflake-pt-client"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: