--- superfile-1.6.0.orig/debian/changelog
+++ superfile-1.6.0/debian/changelog
@@ -0,0 +1,5 @@
+superfile (1.6.0-1) unstable; urgency=medium
+
+  * Initial Debian package (binary repackage from upstream).
+
+ -- Baalthasar <baalthasar@opensuse.org>  Thu, 24 Jul 2026 12:00:00 +0000
--- superfile-1.6.0.orig/debian/control
+++ superfile-1.6.0/debian/control
@@ -0,0 +1,16 @@
+Source: superfile
+Section: utils
+Priority: optional
+Maintainer: Baalthasar <baalthasar@opensuse.org>
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.6.0
+
+Package: superfile
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Pretty fancy and modern terminal file manager
+ superfile is a terminal file manager written in Go with a modern TUI built
+ with Bubble Tea. Features include file browsing, searching, previewing,
+ bookmark management, and theme customization.
+ .
+ This package repackages the upstream prebuilt static binary.
--- superfile-1.6.0.orig/debian/dsc
+++ superfile-1.6.0/debian/dsc
@@ -0,0 +1,12 @@
+Format: 1.0
+Source: superfile
+Binary: superfile
+Architecture: any
+Version: 1.6.0-1
+Maintainer: Baalthasar <baalthasar@opensuse.org>
+Build-Depends: debhelper-compat (= 13)
+DEBTRANSFORM-TAR: superfile.tar.gz
+Files:
+ 00000000000000000000000000000000 0 superfile.tar.gz
+ 00000000000000000000000000000000 0 superfile-linux-amd64.tar.gz
+ 00000000000000000000000000000000 0 superfile-linux-arm64.tar.gz
--- superfile-1.6.0.orig/debian/rules
+++ superfile-1.6.0/debian/rules
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+export DH_VERBOSE = 1
+
+%:
+	dh $@
+
+override_dh_auto_clean:
+	# upstream has no Makefile
+
+override_dh_auto_build:
+	# binary repackage — nothing to build
+
+override_dh_auto_test:
+	# nothing to test
+
+override_dh_dwz:
+	# static Go binary — skip dwz
+
+override_dh_auto_install:
+	ARCH=$$(dpkg-architecture -q DEB_TARGET_ARCH); \
+	case "$$ARCH" in \
+		amd64) TARBALL="superfile-linux-amd64.tar.gz"; DIR="dist/superfile-linux-v1.6.0-amd64" ;; \
+		arm64) TARBALL="superfile-linux-arm64.tar.gz"; DIR="dist/superfile-linux-v1.6.0-arm64" ;; \
+		*) echo "Unsupported architecture: $$ARCH"; exit 1 ;; \
+	esac; \
+	mkdir -p debian/superfile/usr/bin; \
+	for dir in "/usr/src/packages/SOURCES" "../" "../.." "../../SOURCES" "../../.."; do \
+		if [ -f "$$dir/$$TARBALL" ]; then \
+			tar -xzf "$$dir/$$TARBALL"; \
+			install -D -m 0755 "$$DIR/spf" debian/superfile/usr/bin/spf; \
+			exit 0; \
+		fi; \
+	done; \
+	echo "Error: cannot find $$TARBALL" >&2; \
+	exit 1
--- superfile-1.6.0.orig/debian/source.options
+++ superfile-1.6.0/debian/source.options
@@ -0,0 +1 @@
+extend-diff-ignore = ".*"
