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.02.01
|
|
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="
|
|
15708a8662984cbfc3d78c3337aa35a0e82586e2e7ba1430c2b99b5b584468e63899b40b5c15f29d892af2901135d9dc5dfdf2ea7469dd7382e7f25a797253e2 main.conf
|
|
1a330386c6119487a338d78a23a4e116983c333f82373faaa527e22518d71959a0f330968da764ca884dd4dea227c3cf4d2f6252b1dd7f3488ef08543712788d seedbox.conf
|
|
5ae68165edab56f41e51ad5b608a29121db878aed0309882927207d4ea9ec5e505a78b194bc8df8f943259130300edd4aa49b2e23a4ee705fa9ea761533fd133 alpine.conf
|
|
2657b0bdfc001f94159a8cddc928e666cb20055b3df42dd0ec48146c6952c3c7b3957af52612d35d38199fde76ee0c96cb0ea39ed38e13bcc608088c88dc3a88 homepage.conf
|
|
"
|