-
Notifications
You must be signed in to change notification settings - Fork 20
/
PKGBUILD
29 lines (24 loc) · 892 Bytes
/
PKGBUILD
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
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kalk
pkgver=${_kdever}
pkgrel=1
arch=('x86_64')
pkgdesc="Powerful cross-platform calculator application built with the Kirigami framework"
url="https://invent.kde.org/utilities/kalk"
license=('GPLv3')
depends=('qt6-declarative' 'kirigami6' 'ki18n6' 'kcoreaddons6' 'kunitconversion6' 'libqalculate') # 'qtfeedback'
makedepends=('extra-cmake-modules' 'qt6-tools')
source=("https://download.kde.org/stable/applications/${_kdever}/src/${pkgname}-${_kdever}.tar.xz")
md5sums=(`grep ${pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
build() {
cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DQT_MAJOR_VERSION=6
cmake --build build
}
package() {
DESTDIR=${pkgdir} cmake --install build
}