From dee073e8851726b1037f3651333ced5b4944cc1c Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sun, 7 Sep 2025 18:23:44 +0200 Subject: [PATCH] anubis: update to 1.22.0. --- srcpkgs/anubis/patches/npm-assets.diff | 20 -------------------- srcpkgs/anubis/template | 6 +++--- 2 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 srcpkgs/anubis/patches/npm-assets.diff diff --git a/srcpkgs/anubis/patches/npm-assets.diff b/srcpkgs/anubis/patches/npm-assets.diff deleted file mode 100644 index 93dd5e77c32..00000000000 --- a/srcpkgs/anubis/patches/npm-assets.diff +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/package.json b/package.json -index db542f6..1a75070 100644 ---- a/package.json -+++ b/package.json -@@ -8,7 +8,7 @@ - "test:integration": "npm run assets && go test -v ./internal/test", - "test:integration:podman": "npm run assets && go test -v ./internal/test --playwright-runner=podman", - "test:integration:docker": "npm run assets && go test -v ./internal/test --playwright-runner=docker", -- "assets": "go generate ./... && ./web/build.sh && ./xess/build.sh", -+ "assets": "./web/build.sh && ./xess/build.sh", - "build": "npm run assets && go build -o ./var/anubis ./cmd/anubis", - "dev": "npm run assets && go run ./cmd/anubis --use-remote-address --target http://localhost:3000", - "container": "npm run assets && go run ./cmd/containerbuild", -@@ -27,4 +27,4 @@ - "postcss-import-url": "^7.2.0", - "postcss-url": "^10.1.3" - } --} -\ No newline at end of file -+} diff --git a/srcpkgs/anubis/template b/srcpkgs/anubis/template index 58e32049719..4fc1665a98d 100644 --- a/srcpkgs/anubis/template +++ b/srcpkgs/anubis/template @@ -1,6 +1,6 @@ # Template file for 'anubis' pkgname=anubis -version=1.21.3 +version=1.22.0 revision=1 build_style=go go_import_path="github.com/TecharoHQ/anubis" @@ -14,13 +14,13 @@ license="MIT" homepage="https://anubis.techaro.lol/" changelog="https://github.com/TecharoHQ/anubis/releases" distfiles="https://github.com/TecharoHQ/anubis/archive/refs/tags/v${version}.tar.gz" -checksum=f97c3ce3925327eb6523ac7876016ab8bfd7bea1e9f665bb675df6a7249c7301 +checksum=81b45cf8d210927c6bdf81b4d925734b623e0c0c3f04f48c2034a85eea3bcd32 system_accounts="_anubis" pre_build() { npm install --ignore-scripts - npm run assets + CGO_ENABLED=0 GOARCH= npm run assets } do_check() {