aports/openrc-configs/haproxy-redxen-openrc/APKBUILD

25 lines
946 B
Plaintext
Raw Normal View History

2020-11-01 14:28:32 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=haproxy-redxen-openrc
pkgver=1
pkgrel=0
pkgdesc="HAProxy OpenRC service files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="openrc haproxy-redxen-config"
2020-11-20 16:31:49 +00:00
options="!check"
2020-11-01 14:28:32 +00:00
source="
2020-11-20 16:31:49 +00:00
runfile-$pkgname-$pkgver.$pkgrel.initd::https://git.alpinelinux.org/aports/plain/main/haproxy/haproxy.initd
2020-11-01 14:28:32 +00:00
conffile
"
2020-11-20 16:31:49 +00:00
provides="haproxy-openrc"
builddir="$srcdir"
2020-11-01 14:28:32 +00:00
package() {
2020-11-20 16:31:49 +00:00
install -Dm755 "runfile-$pkgname-$pkgver.$pkgrel.initd" "$pkgdir"/etc/init.d/haproxy
install -Dm644 conffile "$pkgdir"/etc/conf.d/haproxy
2020-11-01 14:28:32 +00:00
}
2020-11-20 16:31:49 +00:00
sha512sums="4aa8fc812079baf1d17cf9484a9b44568c3dd94f35243a57a4a7868e7f88146a4e94c80ea8ab86f1b08a524567e269a3ec119b67fc679f6bd0d9f1c70ce4f080 runfile-haproxy-redxen-openrc-1.0.initd
e859523acf4444958744bd235b0d08a7dae0058290fa9fd9b12c29dec192bc25cf1bebba3e8c56ff2df305ee3878349871af70c475bcc8f545dbccbd9b7b338b conffile"