-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.nfpm.yaml
58 lines (58 loc) · 1.38 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# nfpm example configuration file
#
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: "go-hass-agent"
version: ${APPVERSION}
section: "default"
priority: "extra"
maintainer: Joshua Rich <[email protected]>
description: |
A Home Assistant, native app for desktop/laptop devices.
vendor: org.github.joshuar
homepage: https://github.com/joshuar/go-hass-app
license: MIT
arch: ${NFPM_ARCH}
# changelog: CHANGELOG.md
contents:
- src: dist/go-hass-agent-${NFPM_ARCH}
dst: /usr/bin/go-hass-agent
expand: true
- src: LICENSE
dst: /usr/share/licenses/go-hass-agent/LICENSE
- src: README.md
dst: /usr/share/doc/go-hass-agent/README.md
- src: internal/agent/ui/assets/go-hass-agent.png
dst: /usr/share/pixmaps/go-hass-agent.png
- src: assets/go-hass-agent.desktop
dst: /usr/share/applications/go-hass-agent.desktop
- src: init/go-hass-agent.service
dst: /usr/lib/systemd/user/go-hass-agent.service
overrides:
rpm:
depends:
- libXcursor
- libXrandr
- mesa-libGL
- libXi
- libXinerama
- libXxf86vm
- dbus-x11
deb:
depends:
- libgl1-mesa-dri
- libgl1
- libx11-6
- libglx0
- libglvnd0
- libxcb1
- libxau6
- libxdmcp6
- dbus-x11
archlinux:
depends:
- xorg-server
- libxcursor
- libxrandr
- libxinerama
- libxi