diff options
author | Graeme Gott | 2021-09-23 13:24:47 -0400 |
---|---|---|
committer | Graeme Gott | 2021-09-23 13:24:47 -0400 |
commit | 1be1b4aa240ec3355f5aece3dd3ee8b267a546d2 (patch) | |
tree | 34147987584b417395a4732a987fff990bfbd59c | |
parent | 1ab2295d5b98e1bfc9a8a469635eb70d1a24f7e8 (diff) | |
download | aur-1be1b4aa240ec3355f5aece3dd3ee8b267a546d2.tar.gz |
Update to 2.2.0
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 16 insertions, 19 deletions
@@ -1,15 +1,14 @@ pkgbase = tetzle pkgdesc = A tetromino jigsaw puzzle game - pkgver = 2.1.6 + pkgver = 2.2.0 pkgrel = 1 url = https://gottcode.org/tetzle/ - arch = i686 arch = x86_64 license = GPL3 - makedepends = qt5-tools - depends = qt5-base - source = https://gottcode.org/tetzle/tetzle-2.1.6-src.tar.bz2 - sha256sums = fbc3c86b5bf64187f89379176bd0085c636605d9594c7af8d0c056760d6cf80a + makedepends = cmake + makedepends = qt6-tools + depends = qt6-base + source = https://gottcode.org/tetzle/tetzle-2.2.0-src.tar.bz2 + sha256sums = 18650ab9b4668effba59c07b06977bd8ae7e767cbf6abf1dd7a15e7233920779 pkgname = tetzle - @@ -1,26 +1,24 @@ # Maintainer: Graeme Gott <graeme@gottcode.org> pkgname=tetzle -pkgver=2.1.6 +pkgver=2.2.0 pkgrel=1 pkgdesc='A tetromino jigsaw puzzle game' -arch=('i686' 'x86_64') +arch=(x86_64) url="https://gottcode.org/$pkgname/" license=('GPL3') -depends=('qt5-base') -makedepends=('qt5-tools') +depends=('qt6-base') +makedepends=('cmake' 'qt6-tools') source=("https://gottcode.org/$pkgname/$pkgname-$pkgver-src.tar.bz2") -sha256sums=('fbc3c86b5bf64187f89379176bd0085c636605d9594c7af8d0c056760d6cf80a') +sha256sums=('18650ab9b4668effba59c07b06977bd8ae7e767cbf6abf1dd7a15e7233920779') 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 } |