Commit 08659529 authored by Fusl's avatar Fusl Committed by Ariadne Conill

testing/obfs4proxy: initial package commit based on version 0.0.7

parent f5e72582
# Contributor: Katie Holly <holly@fuslvz.ws>
# Maintainer: Katie Holly <holly@fuslvz.ws>
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment