view lamertetris/PKG/PKGBUILD @ 22:b0c59d056e73

colorsmemory - typo
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 22:53:32 +0200
parents b637ac9c6605
children
line wrap: on
line source

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

pkgname=lamertetris
pkgver=2.230821
pkgrel=3
pkgdesc="80s classics game"
arch=('x86_64')
url="prymula.ct8.pl"
license=('Public Domain')
provides=('lamertetris')
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=('c1ac029fa7ce938338cc83108d3c5a297a926b7dcae25c1f2e225fbdfd48f817') #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
}