blob: c9c3128846970a28474b213c67e1c22b3876d297 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Thorsten Roth <elthoro@gmx.de>
pkgname=stackandconquer
pkgver=0.11.0
pkgrel=1
pkgdesc='A challenging tower conquest board game.'
arch=('x86_64')
url='https://github.com/ElTh0r0/stackandconquer/'
license=('GPL-3.0-or-later')
makedepends=('cmake' 'qt6-tools')
depends=('qt6-declarative' 'qt6-svg' 'hicolor-icon-theme')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ElTh0r0/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('c7fda94be5912c50b504076d800ff3de275c2b715f7aef96fe59ef6c0bf05c47')
build() {
cmake -B build-cmake -S "${pkgname}-${pkgver}" \
-DCMAKE_PREFIX_PATH=/usr/include/qt6 \
-DCMAKE_INSTALL_PREFIX="/usr"
cmake --build build-cmake
}
package() {
DESTDIR="$pkgdir/" cmake --install build-cmake
}
|