diff options
author | Ilya Zlobintsev | 2022-01-24 13:37:18 +0200 |
---|---|---|
committer | Ilya Zlobintsev | 2022-01-24 13:37:18 +0200 |
commit | 4ab1a9172782b0d168ed1621301377f6b505f538 (patch) | |
tree | 3a40438b17fdb4522235877b8e1e761db3e657c4 /PKGBUILD | |
download | aur-4ab1a9172782b0d168ed1621301377f6b505f538.tar.gz |
Init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6c46b453220e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Ilya Zlobintsev <ilya.zl@protonmail.com> +pkgname=bore-client-git +pkgver=r47.92498fe +pkgrel=1 +license=("MIT") +pkgdesc="Reverse HTTP/TCP proxy to help you expose a local server behind a NAT or firewall to the internet via secure SSH tunnels" +url="https://bore.network" +makedepends=("go") +arch=("x86_64" "aarch64") +provides=("bore") +source=("git+https://github.com/jkuri/bore.git") +sha512sums=("SKIP") + +pkgver() { + cd bore + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd bore + make build_client +} + +package() { + cd bore + install -Dm755 build/bore "${pkgdir}"/usr/bin/bore +} |