mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-14 01:52:23 +01:00
30 lines
940 B
Plaintext
30 lines
940 B
Plaintext
# Contributor: Oleg Titov <oleg.titov@gmail.com>
|
|
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
|
pkgname=tonutils-reverse-proxy
|
|
pkgver=0.3.3
|
|
pkgrel=0
|
|
pkgdesc="Reverse proxy for TON sites"
|
|
url="https://github.com/tonutils/reverse-proxy"
|
|
# loongarch64 build fails for dependency: crypto v0.17.0
|
|
arch="all !loongarch64"
|
|
license="Apache-2.0"
|
|
options="net !check" # No test suite from upstream
|
|
makedepends="go"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/tonutils/reverse-proxy/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/reverse-proxy-$pkgver"
|
|
|
|
build() {
|
|
make build
|
|
}
|
|
|
|
package() {
|
|
install -m755 -D -t "$pkgdir"/usr/bin/ build/tonutils-reverse-proxy
|
|
|
|
install -m644 -D -t "$pkgdir"/usr/share/doc/$pkgname README.md
|
|
}
|
|
|
|
sha512sums="
|
|
4a8ef35452c4888f6428dd5c497e4aa00d9c307dcbbd6264ff8777b9761591d6ba722afece511ae7b60492e13127612f82107d945abf2e7723602c9e96cc728d tonutils-reverse-proxy-0.3.3.tar.gz
|
|
"
|