Files
binary-repo/kde/frameworks/kwallet/ympbuild
T
2024-10-12 15:49:07 +03:00

37 lines
925 B
Bash
Executable File

#!/usr/bin/env bash
name='kwallet'
release='4'
version='6.7.0'
url='https://community.kde.org/Frameworks'
description='Secure and unified container for user passwords'
email='brkt8khn@gmailmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/kwallet-${version}.tar.xz")
depends=(gpgme kcolorscheme kconfig kcoreaddons kdbusaddons ki18n knotifications kwidgetsaddons
kwindowsystem libgcrypt qt6-base)
makedepends=(extra-cmake-modules doxygen kservice qt6-tools)
sha256sums=('ffb319ce0dfeea95389e1a2f4833d1099b894c81f1df7ab50dcfb796ea87ffa2')
group=(kde.frameworks)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
}
build () {
cmake --build build
}
package () {
INSTALL_ROOT="$DESTDIR" cmake --install build
}