Mercurial > hg > pub > prymula > com
changeset 7:bb29f1c89c99
immposiblerush-0.230919-0_PKG
author | prymula <prymula76@outlook.com> |
---|---|
date | Thu, 01 Feb 2024 21:49:30 +0100 |
parents | 542e305f23f4 |
children | 923377f8ebcb |
files | immposiblerush/Makefile immposiblerush/Makefile.aur immposiblerush/PKG/PKGBUILD |
diffstat | 3 files changed, 42 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- /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
--- /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 <prymula76@outlook.com> +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 +}