Files
binary-repo/kde/frameworks/knotifyconfig/ympbuild
T
2024-04-13 22:55:19 +03:00

37 lines
827 B
Bash

#!/usr/bin/env bash
name='knotifyconfig'
release='2'
version='6.0.0'
url='https://community.kde.org/Frameworks'
description='Core components for the KDE s Activities'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/knotifyconfig-${version}.tar.xz")
depends=(kconfig kio ki18n libcanberra qt6-base)
makedepends=(extra-cmake-modules doxygen qt6-tools)
sha256sums=('323fe757a01ecb2481d9ad04b0902efd3dde13cb1fc044ee1ac1b7f5a29369e6')
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_QCH=ON \
-DBUILD_TESTING=OFF
}
build () {
cmake --build build
}
package () {
INSTALL_ROOT="$DESTDIR" cmake --install build
}