# 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
}
