summaryrefslogtreecommitdiff
path: root/Makefile.aur
diff options
context:
space:
mode:
authorPrzemyslaw <prymula76@outlook.com>2024-04-01 09:01:24 +0200
committerPrzemyslaw <prymula76@outlook.com>2024-04-01 09:01:24 +0200
commit18e499686d1c9991b65dc79272038b291bc14c5d (patch)
tree00b9d71f9c609e5e6fe990ea937822c3768032c9 /Makefile.aur
Init
Diffstat (limited to 'Makefile.aur')
-rw-r--r--Makefile.aur20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.aur b/Makefile.aur
new file mode 100644
index 0000000..ceef523
--- /dev/null
+++ b/Makefile.aur
@@ -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