view lamertetris/PKG/PKGBUILD @ 19:fff7215ba1e8

package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 16:10:46 +0200
parents b5e2aba31fdb
children b637ac9c6605
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=('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=('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
}