# Contributor: Alex Denes # Maintainer: Alex Denes . ../APKBUILD-openrc.template pkgver=2023.05.24.03 pkgrel=0 source="$source secret" depends="openrc $_rx_pkgname" prepare() { default_prepare cp conffile conffile-mod } build() { . secret rx_replace "AUTH_CREDS" "${AUTH_CREDS:?'Missing auth key'}" "conffile-mod" } package() { rx_openrc_runlevel_add rx_openrc_runfile_install rx_openrc_conffile_install "conffile-mod" } sha512sums=" dbbd5ac20c80afaded42cd78a0a789b117d36bdd2b4deee3e575748ee25be29dc117eb544c997deed388f17989f1754f61c958a79c5e826b2c752cbb7e07b0b0 runfile d2e754ce04dd1aa8f642ef68cbcd621cf602acee438f0b969339c8db5d403fe7c4b8ced85aa07b005ead4477337dc4f8ae8e362f2c2d2998d8c7b6128bc99eee conffile b9be5588e9ae46cf7aa262511e6bec573a1ab103e3bfa3625c29338ed11377936a65b98daf88a0c269a605e68bbec4d31ff03a41df2b70b12604bb8f058b1426 secret "