aports/data/haproxy-errorpages/APKBUILD

44 lines
908 B
Plaintext
Raw Normal View History

2020-11-20 16:31:49 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-data.template
2020-11-20 16:31:49 +00:00
pkgrel=0
_commit="ae2360efaf724adf86db586a2131dced408f6cd5"
source="https://git.redxen.eu/RedXen/haproxy-errpages/archive/$_commit.tar.gz"
2020-11-20 16:31:49 +00:00
builddir="$srcdir/haproxy-errpages"
makedepends="make jq"
_rx_installdir="/etc/redxen/haproxy/errorpages"
_rx_fperm=444 # Public, static resources
2020-11-20 16:31:49 +00:00
build() {
make -j$(nproc) \
200.http \
400.http \
401.http \
403.http \
404.http \
405.http \
407.http \
408.http \
410.http \
413.http \
425.http \
429.http \
500.http \
501.http \
502.http \
503.http \
504.http
}
2020-11-20 16:31:49 +00:00
package() {
for i in *.http; do
rx_install "$i"
done
2020-11-20 16:31:49 +00:00
}
sha512sums="
c0d5216b02b6eb464a48e3b48dba77f78e8e218aff8f62c9eece0dd9474b799c5512ffac41ecbfa66ffac9006c3c6ca6700c641b940f645cc352609d419e2541 ae2360efaf724adf86db586a2131dced408f6cd5.tar.gz
"