/
PKGBUILD
31 lines (26 loc) · 976 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
30
31
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kwalletmanager
pkgver=${_kdever}
pkgrel=1
pkgdesc="Tool to manage the passwords on your system."
arch=('x86_64')
url="https://invent.kde.org/utilities/kwalletmanager"
license=('LGPL')
depends=('karchive6' 'kconfig6' 'kconfigwidgets6' 'kcoreaddons6' 'kdbusaddons6' 'ki18n6' 'kcmutils6'
'kio6' 'kwallet6' 'kwindowsystem6' 'kxmlgui6' 'kcrash6' 'kstatusnotifieritem')
makedepends=('extra-cmake-modules' 'kdoctools6')
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_BUILD_TYPE=Release \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DQT_MAJOR_VERSION=6
cmake --build build
}
package() {
DESTDIR=${pkgdir} cmake --install build
}