diff lamertetris/DEBIAN/debian.rules @ 18:b5e2aba31fdb

lamertetris-0.230821-3 package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 15:35:26 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lamertetris/DEBIAN/debian.rules	Sun Mar 31 15:35:26 2024 +0200
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+
+clean:
+	make clean 
+	
+build:
+	make
+
+binary:
+	mkdir -pm 0755 debian/lamertetris
+	mkdir -pm 0755 debian/lamertetris/usr
+	mkdir -pm 0755 debian/lamertetris/usr/bin
+	mkdir -pm 0755 debian/lamertetris/usr/share
+	mkdir -pm 0755 debian/lamertetris/usr/share/lamertetris
+	mkdir -pm 0755 debian/lamertetris/usr/share/lamertetris/img
+	mkdir -pm 0755 debian/lamertetris/usr/share/applications
+	cp lamertetris debian/lamertetris/usr/bin
+	cp assets/lamertetris.png debian/lamertetris/usr/share/lamertetris/img
+	cp assets/lamertetris.bmp debian/lamertetris/usr/share/lamertetris/img
+	cp assets/wallpaper.bmp debian/lamertetris/usr/share/lamertetris/img
+	cp assets/SpicyRice.ttf debian/lamertetris/usr/share/lamertetris
+	cp LamerTetris.desktop  debian/lamertetris/usr/share/applications
+	dh_gencontrol
+	dh_builddeb
+