diff immposiblerush/Makefile.aur @ 8:923377f8ebcb

immposiblerush-0.230919-0_ALLDISTRIBUTIONS
author prymula <prymula76@outlook.com>
date Sat, 03 Feb 2024 18:23:04 +0100
parents bb29f1c89c99
children
line wrap: on
line diff
--- a/immposiblerush/Makefile.aur	Thu Feb 01 21:49:30 2024 +0100
+++ b/immposiblerush/Makefile.aur	Sat Feb 03 18:23:04 2024 +0100
@@ -1,6 +1,5 @@
 # with destiny for AUR
 #prefix=/usr
-prefix=$DESTDIR
 all:
 	ant compile
 	ant jar
@@ -9,11 +8,11 @@
 	ant clean
     
 install: build/jar/ImmposibleRush.jar
-	mkdir -pm 0755 $(prefix)/usr/games
-	mkdir -pm 0755 $(prefix)/usr/share/immposiblerush
-	mkdir -pm 0755 $(prefix)/usr/share/applications
-	install -m 0644 build/jar/ImmposibleRush.jar $(prefix)/usr/games
-	install -m 0644 res/immposiblerush.png $(prefix)/usr/share/immposiblerush
-	install -m 0644 ImmposibleRush.desktop $(prefix)/usr/share/applications
+	mkdir -pm 0755 $(DESTDIR)/usr/games
+	mkdir -pm 0755 $(DESTDIR)/usr/share/immposiblerush
+	mkdir -pm 0755 $(DESTDIR)/usr/share/applications
+	install -m 0644 build/jar/ImmposibleRush.jar $(DESTDIR)/usr/games
+	install -m 0644 res/immposiblerush.png $(DESTDIR)/usr/share/immposiblerush
+	install -m 0644 ImmposibleRush.desktop $(DESTDIR)/usr/share/applications
     
 .PHONY: install