37 lines
868 B
Bash
Executable File
37 lines
868 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='knotifications'
|
|
release='6'
|
|
version='6.27.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Abstraction for system notifications'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/knotifications-${version}.tar.xz")
|
|
depends=(qt6-base libcanberra kconfig)
|
|
makedepends=(extra-cmake-modules qt6-tools doxygen qt6-declarative)
|
|
sha256sums=( 'eeb067fab001dd24735ad56e8ec4808fca76e5ecdf003cf614246c9abe1c3e19' )
|
|
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_PYTHON_BINDINGS=OFF \
|
|
-DBUILD_QCH=ON \
|
|
-DWITH_X11=$(usex X)
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
}
|
|
|