diff kopieckreta/DEBIAN/debian.rules @ 23:489244127359

kopieckreta-0.240903-0
author Przemyslaw <prymula76@outlook.com>
date Mon, 01 Apr 2024 07:15:00 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/kopieckreta/DEBIAN/debian.rules	Mon Apr 01 07:15:00 2024 +0200
@@ -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
+