mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 17:22:07 +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.4
|
|
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="
|
|
be8d4b1d9684a0d79b543ada27e59fee6f357aaf2c2355d8473d7b3f9d03af3ff0b6652a8136e869ed000a1374548c4263ae6a540a7b6a28ad4c3cecef8d6d49 tonutils-reverse-proxy-0.4.4.tar.gz
|
|
"
|