Files
binary-repo/kde/frameworks/qqc2-desktop-style/ympbuild
T
2025-10-18 19:03:12 +00:00

34 lines
849 B
Bash
Executable File

#!/usr/bin/env bash
name='qqc2-desktop-style'
release='5'
version='6.18.0'
url='https://community.kde.org/Frameworks'
description='A style for Qt Quick Controls 2 to make it follow your desktop theme'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/qqc2-desktop-style-${version}.tar.xz")
depends=(kcolorscheme kconfig kirigami kiconthemes qt6-base qt6-declarative sonnet)
makedepends=(extra-cmake-modules qt6-tools)
sha256sums=('91a60e0fefa294a337f2519c77ff2405b86eff99f3ea0e8fc3e34265ef4670f2')
group=(kde.frameworks)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
}
build () {
cmake --build build
}
package () {
INSTALL_ROOT="$DESTDIR" cmake --install build
}