summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aeb35d0be2b2ad1179dbf4d1bb240b6763b8d501 (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
# 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
}