summaryrefslogtreecommitdiff
path: root/DEBIAN/debian.rules
diff options
context:
space:
mode:
authorPrzemyslaw <prymula76@outlook.com>2024-04-02 16:54:04 +0200
committerPrzemyslaw <prymula76@outlook.com>2024-04-02 16:54:04 +0200
commit6be61aef6ad0ffb370deb4df5ad48487b56e3678 (patch)
treee117d8199d4de50de11d7baa50753c5385abc071 /DEBIAN/debian.rules
Diffstat (limited to 'DEBIAN/debian.rules')
-rw-r--r--DEBIAN/debian.rules29
1 files changed, 29 insertions, 0 deletions
diff --git a/DEBIAN/debian.rules b/DEBIAN/debian.rules
new file mode 100644
index 0000000..ce6541d
--- /dev/null
+++ b/DEBIAN/debian.rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+#export PYBUILD_NAME = photocrop
+#export PYBUILD_SYSTEM = custom
+
+clean:
+ @
+
+build:
+ @
+
+binary:
+ mkdir -pm 0755 debian/photocrop
+ mkdir -pm 0755 debian/photocrop/usr/bin
+ mkdir -pm 0755 debian/photocrop/usr/share
+ mkdir -pm 0755 debian/photocrop/usr/share/photocrop
+ mkdir -pm 0755 debian/photocrop/usr/share/applications
+ cp src/photocrop.py debian/photocrop/usr/bin
+ cp data/clip.png debian/photocrop/usr/share/photocrop
+ cp data/IMG_6854.JPG debian/photocrop/usr/share/photocrop
+ cp data/photocrop.desktop debian/photocrop/usr/share/applications
+ dh_gencontrol
+ dh_builddeb
+# dh $@ --with python3 --buildsystem=pybuild
+# dh $@ --with python3
+
+#override_dh_auto_configure:
+# dh_auto_configure --