changeset 8:923377f8ebcb

immposiblerush-0.230919-0_ALLDISTRIBUTIONS
author prymula <prymula76@outlook.com>
date Sat, 03 Feb 2024 18:23:04 +0100
parents bb29f1c89c99
children cdadbf30a821
files immposiblerush/DEBIAN/debian.control immposiblerush/Makefile immposiblerush/Makefile.aur immposiblerush/PKG/PKGBUILD
diffstat 4 files changed, 9 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/immposiblerush/DEBIAN/debian.control	Thu Feb 01 21:49:30 2024 +0100
+++ b/immposiblerush/DEBIAN/debian.control	Sat Feb 03 18:23:04 2024 +0100
@@ -7,7 +7,7 @@
 Homepage: https://prymula.ct8.pl/progi
 
 
-Package: flappyufo
+Package: immposiblerush
 Architecture: all
 Depends: ${misc:Depends}, default-jdk | default-jre
 Description: Color-matching game
--- a/immposiblerush/Makefile	Thu Feb 01 21:49:30 2024 +0100
+++ b/immposiblerush/Makefile	Sat Feb 03 18:23:04 2024 +0100
@@ -12,7 +12,6 @@
 	install -m 0644 build/jar/ImmposibleRush.jar $(prefix)/games
 	mkdir -pm 0755 $(prefix)/share/immposiblerush
 	mkdir -pm 0755 $(prefix)/share/applications
-
 	install -m 0644 res/immposiblerush.png $(prefix)/share/immposiblerush
 	install -m 0644 ImmposibleRush.desktop $(prefix)/share/applications
     
--- 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
--- a/immposiblerush/PKG/PKGBUILD	Thu Feb 01 21:49:30 2024 +0100
+++ b/immposiblerush/PKG/PKGBUILD	Sat Feb 03 18:23:04 2024 +0100
@@ -9,7 +9,7 @@
 depends=('jdk-openjdk')
 makedepends=('jdk-openjdk' 'ant')
 source=("$pkgname-$pkgver-$pkgrel.tar.gz::file://$pkgname-$pkgver-$pkgrel.tar.gz")
-sha256sums=('91e85adc7c047132d6e57703c3c1da2f1f3dd4dad5b9bbb4c880133ba38ab7e2') #generate with 'makepkg -g'
+sha256sums=('3dee0cbe55a1ab66dc7a51c82e314dc8c6809851c3a1027bae5ad6cee6eb25b9') #generate with 'makepkg -g'
 build() {
 	cd "$srcdir/$pkgname-$pkgver-$pkgrel"
 	make -f Makefile.aur
@@ -17,5 +17,5 @@
 
 package() {
 	cd "$srcdir/$pkgname-$pkgver-$pkgrel"
-	make -f Makefile.aur DESTDIR="$pkgdir/" install
+	make -f Makefile.aur DESTDIR="${pkgdir}" install
 }