60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
. ../APKBUILD-config.template
|
|
|
|
pkgver=2024.03.30.01
|
|
pkgrel=0
|
|
depends="nginx-mod-http-zip nginx-mod-http-dav-ext nginx-mod-http-fancyindex"
|
|
checkdepends="nginx"
|
|
subpackages="
|
|
$pkgname-seedbox
|
|
$pkgname-alpine
|
|
$pkgname-homepage
|
|
$pkgname-radicale
|
|
"
|
|
source="
|
|
main.conf
|
|
module/seedbox.conf
|
|
module/alpine.conf
|
|
module/homepage.conf
|
|
module/radicale.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
|
|
}
|
|
|
|
radicale() {
|
|
depends="$depends redxen-secret-radicale-httpauth"
|
|
install_if="redxen-config-radicale"
|
|
_rx_installdir="$_rx_installdir/module" rx_install radicale.conf
|
|
}
|
|
|
|
check() {
|
|
nginx -p / -c main.conf -t
|
|
}
|
|
|
|
sha512sums="
|
|
cb0c4af772feda0b970c69186a5ab2d264ed8a15b6b8fc4e7b50980bc7e054f7af8696a43422a9ef62699276aa6a01c93fa965f9438e0c1d9cfd238c30a9d7f5 main.conf
|
|
59c9dbf6e3239e64c2403c09ddadce14e5ee0a2536b15e906cfd35834a7ef1c7a7a0f47492298592b5b6a97e86800da9ba6f0f04a52152b7a3f671e552da97dd seedbox.conf
|
|
5ae68165edab56f41e51ad5b608a29121db878aed0309882927207d4ea9ec5e505a78b194bc8df8f943259130300edd4aa49b2e23a4ee705fa9ea761533fd133 alpine.conf
|
|
2657b0bdfc001f94159a8cddc928e666cb20055b3df42dd0ec48146c6952c3c7b3957af52612d35d38199fde76ee0c96cb0ea39ed38e13bcc608088c88dc3a88 homepage.conf
|
|
d4b07e07e320e79497d12764d3b122686236f58a51d8b419e84966628705b5471b0442ae0de0409e9f0ca5d42396b9b36d8c618a77aea33e6c502cdeb0d37f69 radicale.conf
|
|
"
|