# HG changeset patch # User prymula # Date 1706820570 -3600 # Node ID bb29f1c89c99dcd2384990662c0f8be27f779cc5 # Parent 542e305f23f4c766b73dbfcb827dad03804c6f46 immposiblerush-0.230919-0_PKG diff -r 542e305f23f4 -r bb29f1c89c99 immposiblerush/Makefile --- a/immposiblerush/Makefile Wed Jan 31 20:40:57 2024 +0100 +++ b/immposiblerush/Makefile Thu Feb 01 21:49:30 2024 +0100 @@ -1,12 +1,3 @@ -# Link command: -#choinka: engin.o -# gcc engin.o -o choinka - -# Compilation commands: -#engin.o: engin.c -# gcc -c engin.c -o engin.o - - prefix=/usr all: @@ -20,8 +11,9 @@ mkdir -pm 0755 $(prefix)/games 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 0755 ImmposibleRush.desktop /usr/share/applications + install -m 0644 ImmposibleRush.desktop $(prefix)/share/applications .PHONY: install diff -r 542e305f23f4 -r bb29f1c89c99 immposiblerush/Makefile.aur --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/immposiblerush/Makefile.aur Thu Feb 01 21:49:30 2024 +0100 @@ -0,0 +1,19 @@ +# with destiny for AUR +#prefix=/usr +prefix=$DESTDIR +all: + ant compile + ant jar + +clean: + 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 + +.PHONY: install diff -r 542e305f23f4 -r bb29f1c89c99 immposiblerush/PKG/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/immposiblerush/PKG/PKGBUILD Thu Feb 01 21:49:30 2024 +0100 @@ -0,0 +1,21 @@ +# Maintainer: Przemyslaw R. Pietraszczyk +pkgname=immposiblerush +pkgver=0.230919 +pkgrel=0 +pkgdesc="atch the color on the square in such a way that it matches the color of the ball. Control, key 'A' - turn left, key 'D' - turn right." +arch=('any') +url="prymula.ct8.pl" +license=('GPL') +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' +build() { + cd "$srcdir/$pkgname-$pkgver-$pkgrel" + make -f Makefile.aur +} + +package() { + cd "$srcdir/$pkgname-$pkgver-$pkgrel" + make -f Makefile.aur DESTDIR="$pkgdir/" install +}