/
PKGBUILD
33 lines (28 loc) · 1002 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
32
33
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kwallet
pkgver=${_kf5ver}
pkgrel=1
pkgdesc='KWallet Framework - Safe desktop-wide storage for passwords'
arch=('x86_64')
url='https://invent.kde.org/frameworks/kwallet'
license=('LGPL')
depends=('kcoreaddons' 'kconfig' 'kwindowsystem' 'ki18n' 'kiconthemes' 'knotifications'
'kconfigwidgets' 'kdbusaddons' 'kservice' 'kwidgetsaddons' 'gpgme' 'qca-qt5')
makedepends=('extra-cmake-modules' 'kdoctools' 'boost')
groups=('kf5')
source=("https://download.kde.org/stable/frameworks/5.114/${pkgname}-${pkgver}.tar.xz")
md5sums=(`grep ${pkgname}-${_kf5ver}.tar.xz ../kf5.md5 | cut -d" " -f1`)
build() {
cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_KWALLETD=OFF \
-DBUILD_KWALLET_QUERY=OFF
cmake --build build
}
package() {
DESTDIR=${pkgdir} cmake --install build
}