# Contributor: Katie Holly # Maintainer: Katie Holly pkgname=obfs4proxy pkgver=0.0.7 pkgrel=0 pkgdesc="pluggable transport proxy for Tor, implementing obfs4" url="https://gitweb.torproject.org/pluggable-transports/obfs4.git/" arch="x86_64 x86" license="BSD-3-Clause" makedepends="go" options="!strip" install="" source="$pkgname-$pkgver.tar.gz::https://github.com/Yawning/obfs4/archive/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/obfs4-$pkgname-$pkgver build() { cd "$builddir" go get -d ./$pkgname go build -v -o ./$pkgname-executable ./$pkgname } package() { cd "$builddir" mkdir -p "$pkgdir"/usr/bin install -Dm755 $pkgname-executable "$pkgdir"/usr/bin/$pkgname } sha512sums="57b71138a139b1821cf58c8e1965f207a6164a046bbfc8d6da828351d4f5bf4ecfb63ca5c69dba834c4e3a72362089d2a7fd296278115c0cae1c53c51d1b124d obfs4proxy-0.0.7.tar.gz"