# Contributor: Alex Denes # Maintainer: Alex Denes pkgname=redxen-config-haproxy pkgver=2021.01.05 pkgrel=0 pkgdesc="HAProxy frontend configuration" url="https://git.redxen.eu/RedXen" arch="noarch" license="none" depends="haproxy redxen-secret-letsencrypt-full redxen-data-haproxy-errorpages" source=" main.cfg " options="!check" # Certificate is not readable by building user package() { install -Dm644 main.cfg "$pkgdir"/etc/haproxy/main.cfg } check() { haproxy -c -f main.cfg } sha512sums="4c95f03028547baf62008e4e91723b43d99931c804a906d410b6f213b3310ffd5d14ca9aeae537438e41c6def5b3586fe017c54db667ebe07387f4655a05edeb main.cfg"