]> git.sev.monster Git - aports.git/blobdiff - testing/uptime-kuma/APKBUILD
testing/cronwrap: add logrotate
[aports.git] / testing / uptime-kuma / APKBUILD
index 090c031341b9ae5b9c13584888160b613ee9b0e0..8aed0631ccc082b9155b62f08093fe15fc34188e 100644 (file)
@@ -1,7 +1,7 @@
 # Contributor: sev <alpine@sev.monster>
 # Maintainer: sev <alpine@sev.monster>
 pkgname=uptime-kuma
-pkgver=1.18.5
+pkgver=1.19.0
 pkgrel=0
 pkgdesc="A fancy self-hosted monitoring tool"
 url="https://uptime.kuma.pet"
@@ -11,7 +11,7 @@ depends="py3-apprise"
 depends_openrc="nodejs>=14"
 makedepends="npm git"
 install="$pkgname.post-install"
-subpackages="$pkgname-openrc:openrc"
+subpackages="$pkgname-openrc"
 source="https://github.com/louislam/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz
         $pkgname.initd
         $pkgname.confd"
@@ -38,15 +38,16 @@ package() {
        install -Dm755 -t"$sharedir"/src src/util.js
        install -Dm755 -t"$sharedir"/extra extra/remove-2fa.js \
                       extra/reset-password.js extra/healthcheck.js
+       install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
+       install -Dm755 "$srcdir/$pkgname.confd" "$pkgdir/etc/conf.d/$pkgname"
 }
 openrc() {
        pkgdesc="NodeJS server for $pkgname"
-       install -Dm755 "$srcdir/$pkgname.initd" "$subpkgdir/etc/init.d/$pkgname"
-       install -Dm755 "$srcdir/$pkgname.confd" "$subpkgdir/etc/conf.d/$pkgname"
+       default_openrc
 }
 
 sha512sums="
-b9ae1fac6456c85532463258d51f1e98869efea8c2997d8350805a3ff5cd21a30783dfda45a008ba0fc4c9a824f8f48d7b1f136b74280cd8cf6a3ba53dc30b87  uptime-kuma-1.18.5.tar.gz
+cc05e7d74c63c8bfdb9dd24bcfb1e2759af116d119f8f3bcbc3b8b752dd642f70e68d2d91efa9f1043e7c28cf69b1769830eb1c063b6d18cfc2cd35866725008  uptime-kuma-1.19.0.tar.gz
 8ca2a3e455a3c156385d7e8de037c458045dec75383511ac48341f6f34d9fe6be5e677c238136bde0f83b90c71f10cdd4fb9fa0a9a59982214ddf6c160e7bedd  uptime-kuma.initd
 59a5760ccc530428d28b71df46fad79869c1e9c628ed9c173e996768d1d8079bbc7feaea85b5d43fd45caf5a41b03a193b88e4d82ac7e1add6a7a2ff14ec8b9c  uptime-kuma.confd
 "
This page took 0.042338 seconds and 4 git commands to generate.