diff --git a/.gitignore b/.gitignore index 7f7cccc..230630d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,60 +1,2 @@ -# ---> Python -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*,cover - -# Translations -*.mo -*.pot - -# Django stuff: -*.log - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - +my_message-1.0_amd64.deb +my_message/usr/* diff --git a/README.md b/README.md index 6fd7ff1..fe7b313 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ # learn_deb -Learn Deb Archive Packaging \ No newline at end of file +Learn Deb Archive Packaging. + +## References + +- [Source tutorial](https://linuxconfig.org/easy-way-to-create-a-debian-package-and-local-package-repository) +- - [Nexus Apt repo setup](https://help.sonatype.com/repomanager3/formats/apt-repositories) diff --git a/my_message.cc b/my_message.cc new file mode 100644 index 0000000..5fa410c --- /dev/null +++ b/my_message.cc @@ -0,0 +1,5 @@ +#include +int main() { + using namespace std; + cout << "Hello dirp\n"; +} diff --git a/my_message/DEBIAN/control b/my_message/DEBIAN/control new file mode 100644 index 0000000..b3656d4 --- /dev/null +++ b/my_message/DEBIAN/control @@ -0,0 +1,9 @@ +Package: my-message +Version: 1.0 +Section: custom +Priority: optional +Architecture: all +Essential: no +Installed-size: 1024 +Maintainer: drew@runcible.io +Description: Prints a message to stdout