44 lines
908 B
Plaintext
44 lines
908 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
. ../APKBUILD-data.template
|
|
|
|
pkgrel=0
|
|
_commit="ae2360efaf724adf86db586a2131dced408f6cd5"
|
|
source="https://git.redxen.eu/RedXen/haproxy-errpages/archive/$_commit.tar.gz"
|
|
builddir="$srcdir/haproxy-errpages"
|
|
makedepends="make jq"
|
|
_rx_installdir="/etc/redxen/haproxy/errorpages"
|
|
_rx_fperm=444 # Public, static resources
|
|
|
|
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
|
|
}
|
|
|
|
package() {
|
|
for i in *.http; do
|
|
rx_install "$i"
|
|
done
|
|
}
|
|
|
|
sha512sums="
|
|
c0d5216b02b6eb464a48e3b48dba77f78e8e218aff8f62c9eece0dd9474b799c5512ffac41ecbfa66ffac9006c3c6ca6700c641b940f645cc352609d419e2541 ae2360efaf724adf86db586a2131dced408f6cd5.tar.gz
|
|
"
|