Signed-off-by: Kamil Trzcinski <ayu...@ayufan.eu>
---
 Makefile       | 5 +++--
 debian/control | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 18e5ce27..0c2f81f6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
 include /usr/share/dpkg/pkg-info.mk
 
 PACKAGE=proxmox-biome
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
-DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_amd64.deb
-DEB_DBG=$(PACKAGE)-dbgsym_$(DEB_VERSION_UPSTREAM_REVISION)_amd64.deb
+DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(ARCH).deb
+DEB_DBG=$(PACKAGE)-dbgsym_$(DEB_VERSION_UPSTREAM_REVISION)_$(ARCH).deb
 
 BUILDDIR=$(PACKAGE)-$(DEB_VERSION_UPSTREAM)
 
diff --git a/debian/control b/debian/control
index bcfa86d0..83d2d6b4 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Homepage: https://biomejs.dev/
 Standards-Version: 4.7.0.0
 
 Package: proxmox-biome
-Architecture: amd64
+Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends},
 Description: Biome offers JS formatter and linter, usable via CLI and LSP.
  Biome is a performant toolchain for web projects, it aims to provide developer
-- 
2.47.2


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to