build(debian): add a Debian and Ubuntu package definition

Add a debhelper-free debian/ tree so a .deb can be built with the Go toolchain and dpkg-dev alone. debian/rules compiles the binary with -trimpath and the version from debian/changelog, then stages the binary, the lazyntfy(1) man page, the license, and the README. The package Depends on ca-certificates for TLS to the ntfy server.
This commit is contained in:
ahp
2026-10-11 12:20:34 +03:30
parent ee9e130a92
commit e6499b50bb
5 changed files with 85 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
Source: lazyntfy
Section: utils
Priority: optional
Maintainer: Amir Husayn Panahifar <ahp@panahifar.ir>
Build-Depends: golang-go (>= 2:1.26)
Standards-Version: 4.7.0
Homepage: https://src.panahifar.ir/ahp/lazyntfy
Vcs-Git: https://src.panahifar.ir/ahp/lazyntfy.git
Vcs-Browser: https://src.panahifar.ir/ahp/lazyntfy
Rules-Requires-Root: no
Package: lazyntfy
Architecture: any
Depends: ca-certificates
Description: lazygit-style terminal client for ntfy
lazyntfy is a terminal user interface for the ntfy pub-sub notification
service, laid out like lazygit: topics in the left pane, messages in the
middle pane, and the selected message in the right pane.
.
It speaks the ntfy HTTP API directly, subscribes to several topics over a
single stream, reconnects automatically, summarizes Grafana and Alertmanager
webhook bodies, and remembers topics and messages between runs in a small
SQLite database.