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
Joel Klimont d1e385a2a1 added env variable for setting a version
small changed in build scripts
2022-10-04 23:00:11 +02:00

17 lines
538 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 \
./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