BlueGit

timfa bluegit

Files

bluegit / packaging / nfpm / bluegit.yaml

bluegit.yaml

bluegit.yaml 1.7 KiB Download Raw
1# nfpm-recept voor bluegit (.deb, .rpm en .pkg.tar.zst).
2# Zelfde unit, gebruiker en paden als packaging/aur/PKGBUILD, maar zonder
3# bluegit-update: die bouwt met makepkg en hoort alleen bij de AUR.
4# scripts/build-packages.sh zet VERSION en ARCH.
5name: bluegit
6arch: ${ARCH}
7platform: linux
8version: ${VERSION}
9version_schema: none
10release: "1"
11maintainer: Tim Falken <tim@timfalken.com>
12description: Self-hosted git-platform
13vendor: Tim Falken
14homepage: https://git.timfalken.com/timfa/bluegit
15license: MIT
16depends:
17 - git
18overrides:
19 deb:
20 recommends:
21 - docker.io | docker-ce
22 rpm:
23 depends:
24 - git
25 - shadow-utils
26 recommends:
27 - docker
28 archlinux:
29 depends:
30 - git
31 - docker
32contents:
33 - src: dist/.stage/bluegit
34 dst: /usr/bin/bluegit
35 file_info:
36 mode: 0755
37 - src: packaging/bluegit.service
38 dst: /usr/lib/systemd/system/bluegit.service
39 file_info:
40 mode: 0644
41 - src: packaging/bluegit.yml
42 dst: /etc/bluegit/config.yml
43 type: config|noreplace
44 file_info:
45 mode: 0644
46 - src: packaging/storage.conf
47 dst: /usr/share/bluegit/storage.conf.example
48 file_info:
49 mode: 0644
50 - src: packaging/nfpm/bluegit.sysusers.conf
51 dst: /usr/lib/sysusers.d/bluegit.conf
52 file_info:
53 mode: 0644
54 - src: packaging/nfpm/bluegit.tmpfiles.conf
55 dst: /usr/lib/tmpfiles.d/bluegit.conf
56 file_info:
57 mode: 0644
58 - src: LICENSE
59 dst: /usr/share/licenses/bluegit/LICENSE
60 file_info:
61 mode: 0644
62scripts:
63 postinstall: packaging/nfpm/bluegit.postinstall.sh
64 preremove: packaging/nfpm/bluegit.preremove.sh
65 postremove: packaging/nfpm/postremove.sh
66archlinux:
67 scripts:
68 postupgrade: packaging/nfpm/bluegit.postinstall.sh