21 lines
630 B
Bash
Executable file
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
|