mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 13:24:40 +08:00
46 lines
1.4 KiB
Bash
46 lines
1.4 KiB
Bash
|
|
pkgname=plasma-vault
|
|
pkgver=5.13.0
|
|
pkgrel=2
|
|
pkgdesc="Plasma applet and services for creating encrypted vaults"
|
|
arch=(x86_64)
|
|
url="https://www.kde.org/"
|
|
license=(LGPL)
|
|
groups=(plasma)
|
|
options=("debug")
|
|
depends=(plasma-workspace)
|
|
makedepends=(extra-cmake-modules python3)
|
|
optdepends=('encfs: to use encFS for encryption' 'cryfs: to use cryFS for encryption')
|
|
source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
|
|
sha256sums=('3125b2ae30359a80617ce8edc9ed857588c593a65f21e15b13b7ba625794a0f3'
|
|
'SKIP' )
|
|
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell
|
|
'0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
|
|
'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson
|
|
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
|
|
-DBUILD_TESTING=OFF \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|