2020-12-18 20:50:42 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
2021-02-07 21:36:32 +00:00
|
|
|
|
2021-06-01 23:17:41 +00:00
|
|
|
. ../APKBUILD-config.template
|
2021-02-07 21:36:32 +00:00
|
|
|
|
2021-06-02 17:52:11 +00:00
|
|
|
pkgver=2021.06.02.01
|
2021-05-03 18:30:12 +00:00
|
|
|
pkgrel=0
|
2021-02-09 19:11:29 +00:00
|
|
|
depends="nginx-mod-http-zip"
|
|
|
|
checkdepends="nginx"
|
2020-12-18 20:50:42 +00:00
|
|
|
subpackages="$pkgname-seedbox $pkgname-alpine $pkgname-homepage"
|
|
|
|
source="
|
|
|
|
main.conf
|
2021-06-01 23:17:41 +00:00
|
|
|
module/seedbox.conf
|
|
|
|
module/alpine.conf
|
|
|
|
module/homepage.conf
|
2020-12-18 20:50:42 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
package() {
|
2021-06-01 23:17:41 +00:00
|
|
|
rx_install "main.conf"
|
2020-12-18 20:50:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
seedbox() {
|
2021-01-27 00:05:48 +00:00
|
|
|
install_if="redxen-config-transmission-daemon"
|
2021-06-01 23:17:41 +00:00
|
|
|
_rx_installdir="$_rx_installdir/module" rx_install seedbox.conf
|
2020-12-18 20:50:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
alpine() {
|
2021-06-02 17:52:11 +00:00
|
|
|
install_if="redxen-secret-alpinepkg-httpauth-alpine"
|
2021-06-01 23:17:41 +00:00
|
|
|
_rx_installdir="$_rx_installdir/module" rx_install alpine.conf
|
2020-12-18 20:50:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
homepage() {
|
|
|
|
install_if="redxen-data-homepage"
|
2021-06-01 23:17:41 +00:00
|
|
|
_rx_installdir="$_rx_installdir/module" rx_install homepage.conf
|
2020-12-18 20:50:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
nginx -p / -c main.conf -t
|
|
|
|
}
|
|
|
|
|
2021-06-01 23:17:41 +00:00
|
|
|
sha512sums="
|
|
|
|
15708a8662984cbfc3d78c3337aa35a0e82586e2e7ba1430c2b99b5b584468e63899b40b5c15f29d892af2901135d9dc5dfdf2ea7469dd7382e7f25a797253e2 main.conf
|
|
|
|
1a330386c6119487a338d78a23a4e116983c333f82373faaa527e22518d71959a0f330968da764ca884dd4dea227c3cf4d2f6252b1dd7f3488ef08543712788d seedbox.conf
|
|
|
|
5ae68165edab56f41e51ad5b608a29121db878aed0309882927207d4ea9ec5e505a78b194bc8df8f943259130300edd4aa49b2e23a4ee705fa9ea761533fd133 alpine.conf
|
|
|
|
2657b0bdfc001f94159a8cddc928e666cb20055b3df42dd0ec48146c6952c3c7b3957af52612d35d38199fde76ee0c96cb0ea39ed38e13bcc608088c88dc3a88 homepage.conf
|
|
|
|
"
|