-
Notifications
You must be signed in to change notification settings - Fork 1
/
nfpm.yaml
31 lines (30 loc) · 827 Bytes
/
nfpm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# nfpm example config file
#
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: "mijia-hub"
arch: ${NFPM_ARCH}
platform: "linux"
version: "v0.5.0"
section: "default"
priority: "extra"
maintainer: "Stefan Arentz <stefan@arentz.ca>"
description: Publish LYWSD03MMC devices as HomeKit accessories.
homepage: "https://github.com/st3fan/mijia-hub"
license: "MPL"
contents:
- src: ./mijia-hub
dst: /usr/sbin/mijia-hub
- src: ./package/systemd/mijia-hub.service
dst: /etc/systemd/system/mijia-hub.service
- src: ./package/default/mijia-hub
dst: /etc/default/mijia-hub
- type: dir
dst: /var/lib/mijia-hub
- type: dir
dst: /var/lib/mijia-hub/storage
overrides:
deb:
scripts:
postinstall: ./package/debian/postinstall.sh
preremove: ./package/debian/preremove.sh