This directory holds the Debian source packaging for `try`, used to build and
publish the package to a PPA. Its build logic is independent of the rest of
`packaging/`, which builds the `.deb`/`.rpm` attached to GitHub Releases; the
two don't share anything.

It lives here rather than at the repo root purely to keep the top level
tidy. To build or test locally first run:
```sh
cp -R packaging/debian debian
```

# Building
With `debian/` staged at the repo root as above, `dpkg-buildpackage -S`
builds a source package. CI (`ppa-source-check` in
`.github/workflows/test.yaml`) does this on every tag push and lints the
result with `lintian`; `publish-ppa` signs and uploads it to the configured
PPA via `dput`.

# Testing that a published PPA package actually installs and works

Once a build succeeds on Launchpad, verify it installs cleanly in an
isolated environment:

```sh
docker run -it --rm ubuntu:24.04 bash
```

```sh
apt-get update
apt-get install -y software-properties-common
add-apt-repository ppa:yourusername/try
apt-get update
apt-get install -y try

try -v
man try
```
