build: Added build stuff, may remove later?
This commit is contained in:
parent
bbc2baf88b
commit
ba6c96eb72
4 changed files with 33 additions and 0 deletions
10
TimeLogix_1.0/DEBIAN/control
Normal file
10
TimeLogix_1.0/DEBIAN/control
Normal 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
15
TimeLogix_1.0/DEBIAN/postinst
Executable 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
8
TimeLogix_1.0/DEBIAN/postrm
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Remove desktop entry
|
||||
rm /usr/share/applications/TimeLogix.desktop
|
||||
|
||||
exit 0
|
||||
w
|
||||
BIN
TimeLogix_1.0/opt/timelogix/TimeLogix
Executable file
BIN
TimeLogix_1.0/opt/timelogix/TimeLogix
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue