17 lines
518 B
Bash
Executable file
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
|