blob: 3a5f06d1197684bd8d633f850a72a8d2b63c9766 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Zola Gonano <zolagonano@protonmail.com>
pkgname=torbridge-cli
pkgver=0.1.1
pkgrel=1
pkgdesc="Command-line interface tool to fetch Tor bridges from BridgeDB"
arch=('x86_64')
url="https://github.com/zolagonano/torbridge-cli"
license=('MIT')
depends=('rust')
makedepends=('git' 'base-devel')
source=("git+https://github.com/zolagonano/torbridge-cli.git#tag=$pkgver")
sha256sums=("SKIP")
build() {
cd "$srcdir/torbridge-cli"
cargo build --release
}
package() {
cd "$srcdir/torbridge-cli"
strip "target/release/torbridge-cli"
install -Dm755 "target/release/torbridge-cli" "$pkgdir/usr/bin/torbridge-cli"
}
|