diff flappyufo/Makefile.aur @ 17:e9c503d896a6

flappyufo-0.230919-1_add_pkgbuild
author Przemyslaw <prymula76@outlook.com>
date Sat, 24 Feb 2024 17:47:35 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flappyufo/Makefile.aur	Sat Feb 24 17:47:35 2024 +0100
@@ -0,0 +1,18 @@
+# with destiny for AUR
+#prefix=/usr
+all:
+	ant compile
+	ant jar
+	
+clean:
+	ant clean
+    
+install: build/jar/FlappyUfo.jar
+	mkdir -pm 0755 $(DESTDIR)/usr/games
+	mkdir -pm 0755 $(DESTDIR)/usr/share/flappyufo
+	mkdir -pm 0755 $(DESTDIR)/usr/share/applications
+	install -m 0644 build/jar/FlappyUfo.jar $(DESTDIR)/usr/games
+	install -m 0644 res/flappyufo.png $(DESTDIR)/usr/share/flappyufo
+	install -m 0644 flappyufo.desktop $(DESTDIR)/usr/share/applications
+    
+.PHONY: install