mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 09:41:39 +01:00
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
# Contributor: Oleg Titov <oleg.titov@gmail.com>
|
|
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
|
pkgname=tonutils-reverse-proxy
|
|
pkgver=0.4.6
|
|
pkgrel=0
|
|
pkgdesc="Reverse proxy for TON sites"
|
|
url="https://github.com/tonutils/reverse-proxy"
|
|
# armhf build fails for dependency: snappy v0.0.4
|
|
# armv7 build fails for dependency: sys v0.30.0
|
|
# s390x build fails for dependency: sys v0.30.0
|
|
# x86 build fails for dependency: crypto v0.35.0
|
|
arch="all !armhf !armv7 !s390x !x86"
|
|
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="
|
|
59e0e5b26ac303a2a47ebb1b448575903d7609ded719a801165da774ecdc265f3746160f06312c85b09282670a981282f2e1d9dba31d24eb239b28a52e2eed3c tonutils-reverse-proxy-0.4.6.tar.gz
|
|
"
|