# Contributor: Katie Holly # Maintainer: Katie Holly pkgname=obfs4proxy pkgver=0.0.11 pkgrel=3 pkgdesc="pluggable transport proxy for Tor, implementing obfs4" url="https://gitweb.torproject.org/pluggable-transports/obfs4.git/" arch="x86_64 x86 armv7" license="BSD-3-Clause" makedepends="go" options="!strip chmod-clean" source="$pkgname-$pkgver.tar.gz::https://github.com/Yawning/obfs4/archive/obfs4proxy-$pkgver.tar.gz" builddir="$srcdir"/obfs4-$pkgname-$pkgver export GOPATH="$srcdir" build() { go build -v -o ./$pkgname-executable ./$pkgname } check() { go test -short ./... } package() { install -Dm755 $pkgname-executable "$pkgdir"/usr/bin/$pkgname } sha512sums="3eb50bc8067802f8260e0926999a659919e55cb34247f443f66a4852c9ceceacae361602a57ad1fd28a84e4ed54f3800c3258e67266eb23d45b1d09e31c5d869 obfs4proxy-0.0.11.tar.gz"