view arkanoid/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 cdadbf30a821
children
line wrap: on
line source

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

pkgname=arkanoid
pkgver=0.7
pkgrel=1
pkgdesc="80s classics game"
arch=('x86_64')
url="prymula.ct8.pl"
license=('Public Domain')
provides=('arkanoid')
depends=('sdl2' 'sdl2_ttf')
makedepends=('make' 'gcc' 'pkg-config' 'sdl2' 'sdl2_ttf')
source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
sha256sums=('e3df24892fc4b266c678c0a3e8adc7d8239cdefeb5593b78eb8bd19e119ef3fc') #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
}