view flappyufo/PKG/PKGBUILD @ 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 source

# Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>

pkgname=flappyufo
pkgver=0.230919
pkgrel=1
pkgdesc="Clone Flappy Bird from Android"
arch=('any')
url="prymula.ct8.pl"
license=('GPL3')
provides=('flappyufo')
depends=('jdk-openjdk')
makedepends=('jdk-openjdk' 'ant')
source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
sha256sums=('2ffdf3a15965776205fa5d37dd44c8e99e3a3a37f6b7e50e80ae90db9384a09b') #generate with 'makepkg -g' || sha256sum
build() {
	cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
	make -f Makefile.aur
}

package() {
	cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
	make -f Makefile.aur DESTDIR="${pkgdir}" install
}