summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 134cd7277f7f0b1ceaeeb337d09fdf5d8adcb3a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=snowflake-pt-client-bin
pkgver=2.10.1
pkgrel=1
pkgdesc='Pluggable Transport using WebRTC, inspired by Flashproxy'
url=https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake
arch=(x86_64)
license=(BSD-3-Clause)
depends=(tor)
optdepends=(torbrowser-launcher)
backup=(etc/tor/snowflake)
install=$pkgname.install
options=(!debug)
source=(snowflake-v$pkgver.tar.gz::$url/-/jobs/749935/artifacts/raw/snowflake-v$pkgver.tar.gz
	snowflake)
b2sums=(3bf84e1ee4c03b91ff76638f3a8bc38276829244ce3eda1582d708ce0b7a85d13f2301a2f409246bfcad5ff2010f713bbf01d7026e8c79b6320d346ee2e4dc6b
	b4c733fa9e8430316e5f0fa45ae79725ffead99a32dc45eecf36b7acbf67493aa16ea4e53a88f2eedec15cc7c47e041ee3ebceba7a0136e91f5678deb286649b)

package() {
	install -Dm 755 snowflake-v$pkgver/client/client $pkgdir/usr/bin/snowflake-client
	install -Dm 644 snowflake -t $pkgdir/etc/tor
	install -Dm 644 snowflake-v$pkgver/doc/snowflake-client.1 -t $pkgdir/usr/share/man/man1
	install -Dm 644 snowflake-v$pkgver/LICENSE -t $pkgdir/usr/share/licenses/snowflake-client
}