Add simple debian-packaging with cargo-deb

This commit is contained in:
Klaus Umbach
2021-01-23 19:35:45 +01:00
committed by Henrik Friedrichsen
parent ab60556644
commit 58c0d22d41
2 changed files with 31 additions and 0 deletions

View File

@@ -52,6 +52,23 @@ For Fedora, these dependencies are required:
dnf install pulseaudio-libs-devel libxcb-devel openssl-devel ncurses-devel dbus-devel
```
#### Building a Debian Package
You can use `cargo-deb` create in order to build a Debian package from source. Install it by:
```
cargo install cargo-deb
```
Then you can build a Dabian package with:
```
cargo deb
```
You can find it under `target/debian`.
## Usage
* Install the latest ncspot release using `cargo install ncspot`