aboutsummaryrefslogtreecommitdiffstats
path: root/community/kpat/APKBUILD
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2022-04-30 16:08:18 +0200
committeralice <alice@ayaya.dev>2022-05-01 06:26:29 +0000
commitbea3328d1d353730dc6746a27275cd7342ae5f1a (patch)
tree3f211610ae1889cce0a470af42d34d5e22fa3937 /community/kpat/APKBUILD
parenteb7a060d9c1b72191890bcd629b4a31ace083dc9 (diff)
downloadaports-bea3328d1d353730dc6746a27275cd7342ae5f1a.tar.gz
aports-bea3328d1d353730dc6746a27275cd7342ae5f1a.tar.bz2
aports-bea3328d1d353730dc6746a27275cd7342ae5f1a.tar.xz
community/kde: build with samurai and RelWithDebInfo
Diffstat (limited to 'community/kpat/APKBUILD')
-rw-r--r--community/kpat/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/kpat/APKBUILD b/community/kpat/APKBUILD
index 83e203f416..e369d2ea2b 100644
--- a/community/kpat/APKBUILD
+++ b/community/kpat/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kpat
pkgver=22.04.0
-pkgrel=0
+pkgrel=1
pkgdesc="KPatience offers a selection of solitaire card games"
# armhf blocked by extra-cmake-modules
# s390x and riscv64 blocked by polkit -> kio
@@ -29,6 +29,7 @@ makedepends="
libkdegames-dev
qt5-qtbase-dev
qt5-qtsvg-dev
+ samurai
"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/kpat-$pkgver.tar.xz"
@@ -37,8 +38,8 @@ subpackages="$pkgname-doc $pkgname-lang"
options="!check"
build() {
- cmake -B build \
- -DCMAKE_BUILD_TYPE=None \
+ cmake -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build