summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraeme Gott2021-05-06 15:11:46 -0400
committerGraeme Gott2021-05-06 15:11:46 -0400
commit3561a7d1fc64dbedde85fff3df3771e71606d403 (patch)
tree0ceac3bc8379b62103d4a3e45cdd6b70b11ba193
parent87de6f7334d5f138ee6d034c9316086667ac566a (diff)
downloadaur-3561a7d1fc64dbedde85fff3df3771e71606d403.tar.gz
Update to 1.3.0
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 17 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa6dad0caa9..f8f2d7dd03c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = cutemaze
pkgdesc = Top-down maze game
- pkgver = 1.2.6
+ pkgver = 1.3.0
pkgrel = 1
url = https://gottcode.org/cutemaze/
- arch = i686
arch = x86_64
license = GPL3
- makedepends = qt5-tools
- depends = qt5-base
- depends = qt5-svg
- source = https://gottcode.org/cutemaze/cutemaze-1.2.6-src.tar.bz2
- sha256sums = 3cb3277fd08f129eec8bc62cfbd8fe2803a0224186a70f676cd6c511850c835f
+ makedepends = cmake
+ makedepends = qt6-tools
+ depends = qt6-base
+ depends = qt6-svg
+ source = https://gottcode.org/cutemaze/cutemaze-1.3.0-src.tar.bz2
+ sha256sums = 87bf87d84dfb6554a794f6ba203fa5344bc5b54e4f7dd3129418ea06e9a88e85
pkgname = cutemaze
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
}