blob: a1132462d5e9c82557b157f1066671c6151fba61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: actuallyaridan <https://github.com/actuallyaridan>
#
# This is the source of truth for the AUR package. On release,
# .github/workflows/release.yml injects the real pkgver and sha256sums,
# generates .SRCINFO, and pushes both to the AUR. The two values below are
# placeholders; everything else is used verbatim.
pkgname=linux-minesweeper
pkgver=2.0.1
pkgrel=1
pkgdesc="A faithful recreation of the Windows 7 Minesweeper"
arch=('x86_64' 'aarch64')
url="https://github.com/actuallyaridan/linux-minesweeper"
license=('GPL-3.0-only')
depends=('qt6-base' 'qt6-multimedia')
makedepends=('cmake' 'ninja')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('22879c0fe92c95ce17ef2c11071026ce99fc5ba803eedd41e33c4344d909a5ab')
build() {
cmake -S "$pkgname-$pkgver" -B build \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|