47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
. ../APKBUILD-config.template
|
|
|
|
pkgver=2021.06.25.02
|
|
pkgrel=0
|
|
depends="nginx-mod-http-zip"
|
|
checkdepends="nginx"
|
|
subpackages="$pkgname-seedbox $pkgname-alpine $pkgname-homepage"
|
|
source="
|
|
main.conf
|
|
module/seedbox.conf
|
|
module/alpine.conf
|
|
module/homepage.conf
|
|
"
|
|
|
|
package() {
|
|
rx_install "main.conf"
|
|
}
|
|
|
|
seedbox() {
|
|
install_if="redxen-config-transmission-daemon"
|
|
_rx_installdir="$_rx_installdir/module" rx_install seedbox.conf
|
|
}
|
|
|
|
alpine() {
|
|
install_if="redxen-secret-alpinepkg-httpauth-alpine"
|
|
_rx_installdir="$_rx_installdir/module" rx_install alpine.conf
|
|
}
|
|
|
|
homepage() {
|
|
install_if="redxen-data-homepage"
|
|
_rx_installdir="$_rx_installdir/module" rx_install homepage.conf
|
|
}
|
|
|
|
check() {
|
|
nginx -p / -c main.conf -t
|
|
}
|
|
|
|
sha512sums="
|
|
7f5ab9650a84e073d2ae9916c0223ca4f3e3815fe4e46f83a1300423c7f541d62bda627d103804dd875555a7c132736903b7f75ac564354b90dee1f138cdae4a main.conf
|
|
1a330386c6119487a338d78a23a4e116983c333f82373faaa527e22518d71959a0f330968da764ca884dd4dea227c3cf4d2f6252b1dd7f3488ef08543712788d seedbox.conf
|
|
5ae68165edab56f41e51ad5b608a29121db878aed0309882927207d4ea9ec5e505a78b194bc8df8f943259130300edd4aa49b2e23a4ee705fa9ea761533fd133 alpine.conf
|
|
2657b0bdfc001f94159a8cddc928e666cb20055b3df42dd0ec48146c6952c3c7b3957af52612d35d38199fde76ee0c96cb0ea39ed38e13bcc608088c88dc3a88 homepage.conf
|
|
"
|