Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions srcpkgs/ntfy/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'ntfy'
pkgname=ntfy
version=2.24.0
version=2.25.0
revision=1
build_style=go
go_import_path="heckel.io/ntfy/v2"
Expand All @@ -14,18 +14,17 @@ license="Apache-2.0,GPL-2.0-only"
homepage="https://ntfy.sh"
changelog="https://raw.githubusercontent.com/binwiederhier/ntfy/main/docs/releases.md"
distfiles="https://github.com/binwiederhier/ntfy/archive/refs/tags/v${version}.tar.gz"
checksum=4b9e47923fe4b99af9f359da3dbbcd3e07dc1e5543fbc08f6cce095b36ce45c1
checksum=ffb3e7b9f801e9e14a1fa0f21020ef4ddc36139006cb8e7fb9236776db593707
system_accounts="_ntfy"
make_dirs="/var/lib/ntfy 0700 _ntfy _ntfy"
_ntfy_homedir="/var/lib/ntfy"
conf_files="/etc/ntfy/server.yml"

pre_build() {
# rollup doesn't support native i686, use wasm instead
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
(cd web && npm install --override rollup@npm:@rollup/wasm-node@latest)
fi
case "$XBPS_TARGET_MACHINE" in
i686*) broken="thread panic from rolldown when building frontend" ;;
esac

pre_build() {
make web
mkdir -p dist/ntfy_linux_server server/docs
touch server/docs/index.html server/site/app.html
Expand Down