]> git.sev.monster Git - aports.git/blobdiff - testing/uptime-kuma/APKBUILD
testing/cronwrap: add logrotate
[aports.git] / testing / uptime-kuma / APKBUILD
index 3b7acc6f1e8506e339711030ad3786bcd52c3c59..8aed0631ccc082b9155b62f08093fe15fc34188e 100644 (file)
@@ -1,13 +1,14 @@
 # Contributor: sev <alpine@sev.monster>
 # Maintainer: sev <alpine@sev.monster>
 pkgname=uptime-kuma
 # Contributor: sev <alpine@sev.monster>
 # Maintainer: sev <alpine@sev.monster>
 pkgname=uptime-kuma
-pkgver=1.16.1
-pkgrel=2
+pkgver=1.19.0
+pkgrel=0
 pkgdesc="A fancy self-hosted monitoring tool"
 url="https://uptime.kuma.pet"
 arch="x86_64"
 license="MIT"
 pkgdesc="A fancy self-hosted monitoring tool"
 url="https://uptime.kuma.pet"
 arch="x86_64"
 license="MIT"
-depends="nodejs>=14 py3-apprise"
+depends="py3-apprise"
+depends_openrc="nodejs>=14"
 makedepends="npm git"
 install="$pkgname.post-install"
 subpackages="$pkgname-openrc"
 makedepends="npm git"
 install="$pkgname.post-install"
 subpackages="$pkgname-openrc"
@@ -32,16 +33,21 @@ check() {
 package() {
        npm prune --omit=dev
        sharedir="$pkgdir/usr/share/$pkgname"
 package() {
        npm prune --omit=dev
        sharedir="$pkgdir/usr/share/$pkgname"
-       mkdir -pm755 "$sharedir"/src
+       mkdir -pm755 "$sharedir"
        cp -dR server db node_modules dist "$sharedir"
        cp -dR server db node_modules dist "$sharedir"
-       install -Dm755 src/util.js "$sharedir"/src
-       install -Dm755 extra/remove-2fa.js extra/reset-password.js \
-                      extra/healthcheck.js "$sharedir"/extra
+       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"
 }
        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"
+       default_openrc
+}
+
 sha512sums="
 sha512sums="
-1250cd3bb239ea1ef7fa04742a7372190d8155d28ccb0f2d0a0117e8fa47bcdfb4c365819926d3ff70b26696463eac9806e9d413f516194397131367de88ec80  uptime-kuma-1.16.1.tar.gz
-be29addd1a357dbff3e43cf37b873a41c1452a870292c54f52dd7ca236f1208a7130df8330dff7eb64b6e974d7903ea3609733dc154ccc4ea506176691271e1c  uptime-kuma.initd
-fa3e42204410cd5033e8291d0f88281cf0ad591026675b193f679f47bcd89216eb0cb53bf890c2a3e1e87cd55fb1e06b93bd1f4cdbd13700c6fcb2d65adb17b8  uptime-kuma.confd
+cc05e7d74c63c8bfdb9dd24bcfb1e2759af116d119f8f3bcbc3b8b752dd642f70e68d2d91efa9f1043e7c28cf69b1769830eb1c063b6d18cfc2cd35866725008  uptime-kuma-1.19.0.tar.gz
+8ca2a3e455a3c156385d7e8de037c458045dec75383511ac48341f6f34d9fe6be5e677c238136bde0f83b90c71f10cdd4fb9fa0a9a59982214ddf6c160e7bedd  uptime-kuma.initd
+59a5760ccc530428d28b71df46fad79869c1e9c628ed9c173e996768d1d8079bbc7feaea85b5d43fd45caf5a41b03a193b88e4d82ac7e1add6a7a2ff14ec8b9c  uptime-kuma.confd
 "
 "
This page took 0.047629 seconds and 4 git commands to generate.