name: hubproxy arch: ${NFPM_ARCH} platform: linux version: ${NFPM_VERSION} release: "1" section: net priority: optional maintainer: sky22333 description: Docker and GitHub acceleration proxy server vendor: sky22333 homepage: https://github.com/sky22333/hubproxy license: MIT contents: - src: ./build/package-root/hubproxy dst: /usr/bin/hubproxy file_info: mode: 0755 - src: ./src/config.toml dst: /etc/hubproxy/config.toml type: config|noreplace file_info: mode: 0644 - src: ./packaging/hubproxy.service dst: /lib/systemd/system/hubproxy.service file_info: mode: 0644 scripts: postinstall: ./packaging/postinstall.sh preremove: ./packaging/preremove.sh postremove: ./packaging/postremove.sh