mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
# Contributor: Oleg Titov <oleg.titov@gmail.com>
|
|
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
|
pkgname=tonutils-reverse-proxy
|
|
pkgver=0.4.0
|
|
pkgrel=1
|
|
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="
|
|
3570ada2e7f793e2213db123c5fdc7292a8f86cf9c7258294c1fd92cd747058ac2da8cb6ad7e01a154ba8e65388c7f99d3819055d332332911c3cd930d7021ce tonutils-reverse-proxy-0.4.0.tar.gz
|
|
"
|