build: Added build stuff, may remove later?

This commit is contained in:
Blake Ridgway 2025-04-05 18:20:10 -05:00
parent bbc2baf88b
commit ba6c96eb72
4 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,10 @@
Package: timelogix
Version: 1.0
Architecture: amd64
Maintainer: Blake Ridgway <blake@blakeridgway.com>
Description: A simple time tracking application.
Long description of the application. You can
add multiple lines here.
Depends: python3, python3-tk
Section: utils
Priority: optional

15
TimeLogix_1.0/DEBIAN/postinst Executable file
View file

@ -0,0 +1,15 @@
#!/bin/sh
set -e
cat <<EOF > /usr/share/applications/TimeLogix.desktop
[Desktop Entry]
Name=TimeLogix
Comment=Time tracking application
Exec=/opt/timelogix/TimeLogix
#Icon=/opt/timelogix/icon.ico # If you have an icon
Terminal=false
Type=Application
Categories=Utility;
EOF
exit 0

8
TimeLogix_1.0/DEBIAN/postrm Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
set -e
# Remove desktop entry
rm /usr/share/applications/TimeLogix.desktop
exit 0
w

Binary file not shown.