diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-12-09 04:11:22 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-12-09 04:18:30 +0100 |
commit | e03af7f866ac7b611f9c11409ec00c783901ea0e (patch) | |
tree | 7865e6aed0968a74478f5af648b5c1f7bbe61122 /pcr/obfs4proxy/PKGBUILD | |
parent | 1b897a52de8288f129a9cfe9e571b999a3fe1d5c (diff) | |
download | abslibre-e03af7f866ac7b611f9c11409ec00c783901ea0e.tar.gz abslibre-e03af7f866ac7b611f9c11409ec00c783901ea0e.tar.bz2 abslibre-e03af7f866ac7b611f9c11409ec00c783901ea0e.zip |
pcr: Add obfsproxy 0.0.11 from Aur
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/obfs4proxy/PKGBUILD')
-rw-r--r-- | pcr/obfs4proxy/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/obfs4proxy/PKGBUILD b/pcr/obfs4proxy/PKGBUILD new file mode 100644 index 000000000..ecc040037 --- /dev/null +++ b/pcr/obfs4proxy/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer (AUR): mutantmonkey <aur@mutantmonkey.in> +# Contributor (AUR): shyokou <shyokou at gmail dot com> +# Contributor (AUR): FzerorubigD <Fzerorubigd {AT} GMail {DOT} com> + +# parabola changes and rationale: +# no changes. + +pkgname=obfs4proxy +pkgver=0.0.11 +pkgrel=1 +pkgdesc='The obfourscator - a pluggable transport proxy written in Go' +arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') +url='https://gitweb.torproject.org/pluggable-transports/obfs4.git/' +license=('BSD') +makedepends=('git' 'go') +optdepends=('tor: you need tor to use this package') +source=("https://people.torproject.org/~yawning/releases/obfs4proxy/obfs4proxy-${pkgver}.tar.xz") +sha512sums=('7d7fef951bcebd4433dfb638896d4be15dc090d38a3b54c9a9d34ea264b006cff75a42da1b97b6af998cfbc3b44919770cd8cb519ada351486a247faf47c656f') + +build() { + cd "${srcdir}/" + GOPATH="${srcdir}/go" go build -o obfs4proxy/obfs4proxy ./obfs4proxy +} + +package() { + cd "${srcdir}/" + 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: |