2020-11-01 14:28:32 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
pkgname=haproxy-redxen-openrc
|
2020-12-07 15:46:31 +00:00
|
|
|
pkgver=2020.12.7
|
|
|
|
pkgrel=1
|
2020-11-01 14:28:32 +00:00
|
|
|
pkgdesc="HAProxy OpenRC service files"
|
|
|
|
url="https://git.redxen.eu/RedXen"
|
|
|
|
arch="noarch"
|
|
|
|
license="none"
|
2020-12-07 15:46:31 +00:00
|
|
|
depends="openrc haproxy-openrc haproxy-redxen-config"
|
2020-11-20 16:31:49 +00:00
|
|
|
options="!check"
|
2020-11-01 14:28:32 +00:00
|
|
|
source="
|
|
|
|
conffile
|
|
|
|
"
|
2020-11-20 16:31:49 +00:00
|
|
|
builddir="$srcdir"
|
2020-11-01 14:28:32 +00:00
|
|
|
|
|
|
|
package() {
|
2020-12-07 15:46:31 +00:00
|
|
|
mkdir -p "$pkgdir"/etc/init.d
|
|
|
|
ln -s haproxy "$pkgdir"/etc/init.d/haproxy.redxen
|
|
|
|
install -Dm644 conffile "$pkgdir"/etc/conf.d/haproxy.redxen
|
2020-11-01 14:28:32 +00:00
|
|
|
}
|
2020-12-07 15:46:31 +00:00
|
|
|
sha512sums="e859523acf4444958744bd235b0d08a7dae0058290fa9fd9b12c29dec192bc25cf1bebba3e8c56ff2df305ee3878349871af70c475bcc8f545dbccbd9b7b338b conffile"
|