diff options
author | mutantmonkey | 2015-09-10 00:03:27 -0700 |
---|---|---|
committer | mutantmonkey | 2015-09-10 00:03:27 -0700 |
commit | b87371863ec390519f87818981069b431b1442d4 (patch) | |
tree | 60bbb6c98ccfc8023151019e00e8e06277aa0067 | |
download | aur-b87371863ec390519f87818981069b431b1442d4.tar.gz |
Initial upload: obfs4proxy 0.0.5-1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..aa1a6fefc5d4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = obfs4proxy + pkgdesc = The obfourscator - a pluggable transport proxy written in Go + pkgver = 0.0.5 + pkgrel = 1 + url = https://gitweb.torproject.org/pluggable-transports/obfs4.git/ + arch = i686 + arch = x86_64 + license = BSD + makedepends = git + makedepends = go + optdepends = tor: you need tor to use this package + source = git+https://git.torproject.org/pluggable-transports/obfs4.git#tag=obfs4proxy-0.0.5 + sha256sums = SKIP + +pkgname = obfs4proxy + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..40f327eebc6d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: mutantmonkey <aur@mutantmonkey.in> +# Contributor: shyokou <shyokou at gmail dot com> +# Contributor: FzerorubigD <Fzerorubigd {AT} GMail {DOT} com> +pkgname=obfs4proxy +_gitname=obfs4 +pkgver=0.0.5 +pkgrel=1 +pkgdesc='The obfourscator - a pluggable transport proxy written in Go' +arch=('i686' 'x86_64') +url='https://gitweb.torproject.org/pluggable-transports/obfs4.git/' +license=('BSD') +makedepends=('git' 'go') +optdepends=('tor: you need tor to use this package') +source=("git+https://git.torproject.org/pluggable-transports/obfs4.git#tag=obfs4proxy-${pkgver}") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${_gitname}/obfs4proxy" + GOPATH="$srcdir" GOBIN="." go get -v +} + +package() { + cd "${srcdir}/${_gitname}" + install -Dm0755 obfs4proxy/obfs4proxy "${pkgdir}/usr/bin/obfs4proxy" + install -Dm0644 doc/obfs4proxy.1 "${pkgdir}/usr/share/man/man1/obfs4proxy.1" + install -Dm0644 ChangeLog "${pkgdir}/usr/share/doc/${pkgname}/ChangeLog" + install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +## vim:set ts=2 sw=2 et: |