diff --git a/data/haproxy-errorpages/APKBUILD b/data/haproxy-errorpages/APKBUILD index 99ae167..16966f8 100644 --- a/data/haproxy-errorpages/APKBUILD +++ b/data/haproxy-errorpages/APKBUILD @@ -3,14 +3,35 @@ . ../APKBUILD-data.template -pkgver=2021.06.01.03 pkgrel=0 -_commit="d2eafb66f5d082f0d492e21cc07bb6636767ff7c" +_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" @@ -18,5 +39,5 @@ package() { } sha512sums=" -3b1f8e8273d25bae611715476806011191d4bf85c86149dd279d950b48c0da70ddd838cbb8ffb79513a9b75cbc493e9ab4128edc66ead50c354201f99b7f6d45 d2eafb66f5d082f0d492e21cc07bb6636767ff7c.tar.gz +c0d5216b02b6eb464a48e3b48dba77f78e8e218aff8f62c9eece0dd9474b799c5512ffac41ecbfa66ffac9006c3c6ca6700c641b940f645cc352609d419e2541 ae2360efaf724adf86db586a2131dced408f6cd5.tar.gz "