aports/openrc/nginx/APKBUILD

24 lines
648 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-openrc-nginx
pkgver=2020.12.11
pkgrel=0
pkgdesc="NGINX service files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="openrc nginx-openrc redxen-config-nginx"
options="!check"
source="
conffile
"
builddir="$srcdir"
package() {
mkdir -p "$pkgdir"/etc/init.d
ln -s nginx "$pkgdir"/etc/init.d/nginx.redxen
install -Dm644 conffile "$pkgdir"/etc/conf.d/nginx.redxen
}
sha512sums="41b11e1be914b9a3c87fb1e98016ddd70e4fd5c6f80205f011cda44f5ca00359f14bdb40fc7225f8502ac6cd99e18578ae81ea4970fb53bd9b22403248b2d353 conffile"