This repository has been archived on 2025-06-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compLIB/server_v2/build_deb.sh
2022-10-05 23:25:05 +02:00

21 lines
630 B
Bash
Executable file

fpm \
-s dir -t deb \
-m '"Joel Klimont" <joel.klimont@gmail.com>' \
--license 'proprietary' \
--description 'Library for robot used in the competition' \
--url "https://github.com/F-WuTS/compLIB" \
--deb-priority "optional" \
--deb-systemd "compsrv.service" \
--after-install postinstall.sh \
--after-upgrade postinstall.sh \
--name compsrv \
--version 1.0.0-0 \
--architecture all \
-d "libprotobuf23" \
-d "protobuf-compiler" \
-d "python3-protobuf" \
-d "pigpio" \
./test_bin/compsrv=/usr/bin/compsrv
# MUST BE RUN IN BASH, zsh has 'ar' as an alias to 'apt'
# ar -xv compsrv-1.0.0-0-any.deb