summaryrefslogtreecommitdiff
path: root/DEBIAN/debian.rules
diff options
context:
space:
mode:
authorPrzemyslaw <prymula76@outlook.com>2024-04-01 09:02:22 +0200
committerPrzemyslaw <prymula76@outlook.com>2024-04-01 09:02:22 +0200
commitd8afc9f5c2aa97a96ca326c0178a7fc9577afaaf (patch)
tree730acbaff01acd5ebed98a7c6ee831ccb731706e /DEBIAN/debian.rules
Init
Diffstat (limited to 'DEBIAN/debian.rules')
-rw-r--r--DEBIAN/debian.rules25
1 files changed, 25 insertions, 0 deletions
diff --git a/DEBIAN/debian.rules b/DEBIAN/debian.rules
new file mode 100644
index 0000000..3f7a836
--- /dev/null
+++ b/DEBIAN/debian.rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+#export PYBUILD_NAME = photocrop
+#export PYBUILD_SYSTEM = custom
+
+clean:
+ ant clean
+
+build:
+ ant compile
+ ant jar
+
+binary:
+ mkdir -pm 0755 debian/kopieckreta/usr
+ mkdir -pm 0755 debian/kopieckreta/usr/games
+ mkdir -pm 0755 debian/kopieckreta/usr/share/kopieckreta
+ mkdir -pm 0755 debian/kopieckreta/usr/share/kopieckreta/icons
+ mkdir -pm 0755 debian/kopieckreta/usr/share/applications
+ cp build/jar/KopiecKreta.jar debian/kopieckreta/usr/games
+ cp kopieckreta.png debian/kopieckreta/usr/share/kopieckreta/icons
+ cp KopiecKreta.desktop debian/kopieckreta/usr/share/applications
+ dh_gencontrol
+ dh_builddeb
+