From 5d5588bf1f05468caa23b89b75be1e66ba513e39 Mon Sep 17 00:00:00 2001 From: sev Date: Thu, 8 Dec 2022 04:27:17 +0000 Subject: [PATCH] testing/uptime-kuma: upgrade to 1.18.5 --- testing/uptime-kuma/APKBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/testing/uptime-kuma/APKBUILD b/testing/uptime-kuma/APKBUILD index 26c2385..090c031 100644 --- a/testing/uptime-kuma/APKBUILD +++ b/testing/uptime-kuma/APKBUILD @@ -1,8 +1,8 @@ # Contributor: sev # Maintainer: sev pkgname=uptime-kuma -pkgver=1.16.1 -pkgrel=3 +pkgver=1.18.5 +pkgrel=0 pkgdesc="A fancy self-hosted monitoring tool" url="https://uptime.kuma.pet" arch="x86_64" @@ -33,17 +33,20 @@ check() { 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" - 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 } openrc() { pkgdesc="NodeJS server for $pkgname" - 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" "$subpkgdir/etc/init.d/$pkgname" + install -Dm755 "$srcdir/$pkgname.confd" "$subpkgdir/etc/conf.d/$pkgname" } sha512sums=" +b9ae1fac6456c85532463258d51f1e98869efea8c2997d8350805a3ff5cd21a30783dfda45a008ba0fc4c9a824f8f48d7b1f136b74280cd8cf6a3ba53dc30b87 uptime-kuma-1.18.5.tar.gz +8ca2a3e455a3c156385d7e8de037c458045dec75383511ac48341f6f34d9fe6be5e677c238136bde0f83b90c71f10cdd4fb9fa0a9a59982214ddf6c160e7bedd uptime-kuma.initd +59a5760ccc530428d28b71df46fad79869c1e9c628ed9c173e996768d1d8079bbc7feaea85b5d43fd45caf5a41b03a193b88e4d82ac7e1add6a7a2ff14ec8b9c uptime-kuma.confd " -- 2.46.2