diff colorsmemory/Makefile.aur @ 19:fff7215ba1e8

package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 16:10:46 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/Makefile.aur	Sun Mar 31 16:10:46 2024 +0200
@@ -0,0 +1,20 @@
+
+prefix=/usr
+    
+all:
+	ant compile
+	ant jar
+	
+clean:
+	ant clean
+
+install: build/jar/ColorsMemory.jar
+	mkdir -pm 0755 $(DESTDIR)$(prefix)/games
+	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/applications
+	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/colorsmemory
+	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/colorsmemory/icons
+	install -m 0644 build/jar/ColorsMemory.jar $(DESTDIR)$(prefix)/games
+	install -m 0644 colorsmemory.png $(DESTDIR)$(prefix)/share/colorsmemory/icons
+	install -m 0644 ColorsMemory.desktop $(DESTDIR)$(prefix)/share/applications
+    
+.PHONY: install