Add .deb packaging

This commit is contained in:
Ben Johnson
2021-01-16 09:22:02 -07:00
parent 78563f821d
commit b4e5079760
5 changed files with 51 additions and 3 deletions

19
etc/nfpm.yml Normal file
View File

@@ -0,0 +1,19 @@
name: litestream
arch: amd64
platform: linux
version: "${LITESTREAM_VERSION}"
section: "default"
priority: "extra"
maintainer: "Ben Johnson <benbjohnson@yahoo.com>"
description: Litestream is a tool for real-time replication of SQLite databases.
homepage: "https://github.com/benbjohnson/litestream"
license: "GPLv3"
contents:
- src: ./dist/litestream
dst: /usr/bin/litestream
- src: ./etc/litestream.yml
dst: /etc/litestream.yml
type: config
- src: ./etc/litestream.service
dst: /usr/lib/systemd/system/litestream.service
type: config