Skip to content

Instantly share code, notes, and snippets.

@chankruze
Last active April 2, 2019 01:19
Show Gist options
  • Save chankruze/9a787f87f9c7c279f6c22be8e9c6d8be to your computer and use it in GitHub Desktop.
Save chankruze/9a787f87f9c7c279f6c22be8e9c6d8be to your computer and use it in GitHub Desktop.
mkdir -p build/bhcmgr_1.0-1/usr/local/;
mkdir build/bhcmgr_1.0-1/usr/local/bin/;
mkdir build/bhcmgr_1.0-1/usr/local/share/;
mkdir build/bhcmgr_1.0-1/usr/local/share/applications/;
mkdir build/bhcmgr_1.0-1/usr/local/share/bhcmgr/;
cp -r images/ build/bhcmgr_1.0-1/usr/local/share/bhcmgr/;
cp bhcmgr build/bhcmgr_1.0-1/usr/local/bin/;
cp bhcmgr build/bhcmgr_1.0-1/usr/bin/;
cp bhcmgr.desktop build/bhcmgr_1.0-1/usr/local/share/applications/;
mkdir build/bhcmgr_1.0-1/DEBIAN
cp control build/bhcmgr_1.0-1/DEBIAN
cd build/ && dpkg-deb --build bhcmgr_1.0-1;
|-- BhcMgr.c
|-- LICENSE
|-- Makefile
|-- bhcmgr_1.0-1
|   |-- DEBIAN
|   |   `-- control
|   `-- usr
|       |-- bin
|       |   `-- bhcmgr
|       `-- local
|           |-- bin
|           |   `-- bhcmgr
|           `-- share
|               |-- applications
|               |   `-- bhcmgr.desktop
|               `-- bhcmgr
|                   `-- images
|                       |-- battery_100.png
|                       |-- battery_60.png
|                       |-- battery_80.png
|                       |-- battery_about.png
|                       |-- bhcmgr.png
|                       `-- icon.ico
`-- bhcmgr_1.0-1.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment