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

37 lines
830 B
Bash
Executable File

#!/usr/bin/env bash
name='knotifyconfig'
release='6'
version='6.27.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=( '81861316d615e7e5ff07143c1d58d9b52cadc5e02ab38c8f2677c01f71e51f26' )
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
}