summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouie <louie@example.com>2023-10-02 17:20:08 -0400
committerlouie <louie@example.com>2023-10-02 17:20:08 -0400
commit6ae4f70d7650a0c6824dacdc9692ca4d8fc78e7b (patch)
tree784046c58758b199be7330a6e3f4da6fb45a487d
parent8c789eea182874dbc9234ea7d41971a2181617e4 (diff)
Install desktop entry in debian package
-rwxr-xr-xdebian/rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 158e311..0de8a74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,15 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
+export PYBUILD_NAME=assignment-list
+export PYBUILD_DESTDIR=debian/assignment-list
%:
dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+ dh_auto_install
+ mkdir -p debian/assignment-list/usr/share/pixmaps
+ install data/assignment-list.svg debian/assignment-list/usr/share/pixmaps
+ mkdir -p debian/assignment-list/usr/share/applications
+ install data/assignment-list.desktop debian/assignment-list/usr/share/applications