35 lines
800 B
Bash
Executable File
35 lines
800 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='solid'
|
|
release='5'
|
|
version='6.18.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=('7768c1da7ee34a9e37cfb6b5b727e690c80134ca424b5262e403e48ccf812ddf')
|
|
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
|
|
}
|