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-04 20:28:58 +02:00

17 lines
518 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' \
--deb-priority "optional" \
--deb-systemd "compsrv.service" \
--after-install postinstall.sh \
--after-upgrade postinstall.sh \
-p compsrv-1.0.0-0-any.deb \
--name compsrv \
--version 1.0.0-0 \
--architecture all \
./build/compsrv=/usr/bin/compsrv
# dpkg-deb -xv compsrv-1.0.0-0-any.deb test_bin
# sudo rm -rf test_bin/usr test_bin/lib