Files
binary-repo/kde/frameworks/solid/ympbuild
T

35 lines
802 B
Bash
Executable File

#!/usr/bin/env bash
name='solid'
release='6'
version='6.27.0'
url='https://community.kde.org/Frameworks'
description='Hardware integration and detection'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/solid-${version}.tar.xz")
depends=(qt6-base udisks2 upower)
makedepends=(qt6-tools qt6-declarative doxygen extra-cmake-modules)
sha256sums=( '70a9ee69b4357ebf83cc87aa61db6fdff8c96a59e24f9572e51716f1d3c579fe' )
group=(kde.frameworks)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build -G Ninja \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
}
build () {
cmake --build build
}
package () {
DESTDIR="$DESTDIR" cmake --install build
}