summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGraeme Gott2021-05-06 15:11:46 -0400
committerGraeme Gott2021-05-06 15:11:46 -0400
commit3561a7d1fc64dbedde85fff3df3771e71606d403 (patch)
tree0ceac3bc8379b62103d4a3e45cdd6b70b11ba193 /PKGBUILD
parent87de6f7334d5f138ee6d034c9316086667ac566a (diff)
downloadaur-3561a7d1fc64dbedde85fff3df3771e71606d403.tar.gz
Update to 1.3.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b12bda5846b..811ff281181 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,24 @@
# Maintainer: Graeme Gott <graeme@gottcode.org>
pkgname=cutemaze
-pkgver=1.2.6
+pkgver=1.3.0
pkgrel=1
pkgdesc='Top-down maze game'
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="https://gottcode.org/$pkgname/"
license=('GPL3')
-depends=('qt5-base' 'qt5-svg')
-makedepends=('qt5-tools')
+depends=('qt6-base' 'qt6-svg')
+makedepends=('cmake' 'qt6-tools')
source=("https://gottcode.org/$pkgname/$pkgname-$pkgver-src.tar.bz2")
-sha256sums=('3cb3277fd08f129eec8bc62cfbd8fe2803a0224186a70f676cd6c511850c835f')
+sha256sums=('87bf87d84dfb6554a794f6ba203fa5344bc5b54e4f7dd3129418ea06e9a88e85')
build() {
- cd "$pkgname-$pkgver"
-
- qmake-qt5 PREFIX=/usr
- make
+ cmake -B build -S $pkgbase-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
}
package() {
- cd "$pkgname-$pkgver"
-
- make INSTALL_ROOT="$pkgdir/" install
+ DESTDIR="$pkgdir" cmake --install build
}