view arkanoid/PKG/PKGBUILD @ 24:c7e131ce2f14

makefile rm
author Przemyslaw <prymula76@outlook.com>
date Mon, 01 Apr 2024 07:16:40 +0200
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
}