comparison lamertetris/PKG/PKGBUILD @ 18:b5e2aba31fdb

lamertetris-0.230821-3 package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 15:35:26 +0200
parents
children b637ac9c6605
comparison
equal deleted inserted replaced
17:e9c503d896a6 18:b5e2aba31fdb
1 # Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
2
3 pkgname=lamertetris
4 pkgver=2.230821
5 pkgrel=3
6 pkgdesc="80s classics game"
7 arch=('x86_64')
8 url="prymula.ct8.pl"
9 license=('Public Domain')
10 provides=('arkanoid')
11 depends=('sdl2' 'sdl2_ttf')
12 makedepends=('make' 'gcc' 'pkg-config' 'sdl2' 'sdl2_ttf')
13 source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
14 sha256sums=('c1ac029fa7ce938338cc83108d3c5a297a926b7dcae25c1f2e225fbdfd48f817') #generate with 'makepkg -g' || sha256sum
15 build() {
16 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
17 make -f Makefile.aur
18 }
19
20 package() {
21 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
22 make -f Makefile.aur DESTDIR="${pkgdir}" install
23 }