# Maintainer: Graeme Gott pkgname=gottet pkgver=1.2.0 pkgrel=1 pkgdesc='A tetris clone using the Qt GUI toolkit' arch=('x86_64') url="https://gottcode.org/$pkgname/" license=('GPL3') depends=('qt6-base') makedepends=('cmake' 'qt6-tools') source=("https://gottcode.org/$pkgname/$pkgname-$pkgver-src.tar.bz2") sha256sums=('26647b12258180e46e76413a25b43b2a1c2f9169f0ea039015359ba9fbe4f2f8') build() { cmake -B build -S $pkgbase-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build }