diff options
author | Egor Gushcha | 2024-01-16 06:10:38 +0600 |
---|---|---|
committer | Egor Gushcha | 2024-01-16 06:10:38 +0600 |
commit | 29e4cd53f2dfb5f894a0582d809d8ee177a62057 (patch) | |
tree | c1b3257d9a1eb40ec314e357ea5dee93adc68365 | |
parent | 8370b2f5d86ec51c59c13ed23b63ed83d2fb9238 (diff) | |
download | aur-29e4cd53f2dfb5f894a0582d809d8ee177a62057.tar.gz |
Add license field, remove $srcdir
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 3 deletions
@@ -5,6 +5,7 @@ pkgbase = snowflake-pt-client-bin url = https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake install = snowflake-pt-client-bin.install arch = x86_64 + license = BSD-3-Clause depends = tor optdepends = tor-browser backup = etc/tor/snowflake @@ -4,6 +4,7 @@ pkgrel=2 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=(tor-browser) backup=(etc/tor/snowflake) @@ -12,11 +13,11 @@ source=(snowflake-v$pkgver.tar.gz::https://gitlab.torproject.org/tpo/anti-censor b2sums=(a330fd8f4c8b7858dcdf58865a84f0fda8d3c8ce6b8d2e8e9b50a041349d0e3c8de7f028275bc33344cd1e4060572d64a26b1922f94ad01adc75bacfb2caf057) package() { - install -Dm 755 $srcdir/snowflake-v$pkgver/client/client $pkgdir/usr/bin/snowflake-client + install -Dm 755 snowflake-v$pkgver/client/client $pkgdir/usr/bin/snowflake-client echo -e "UseBridges 1\nClientTransportPlugin snowflake exec /usr/bin/snowflake-client" > snowflake - grep -w Bridge $srcdir/snowflake-v$pkgver/client/torrc >> snowflake + grep -w Bridge snowflake-v$pkgver/client/torrc >> snowflake install -Dm 644 snowflake $pkgdir/etc/tor/snowflake - install -Dm 644 $srcdir/snowflake-v$pkgver/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm 644 snowflake-v$pkgver/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } |