35 lines
870 B
Bash
Executable File
35 lines
870 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='kwindowsystem'
|
|
release='5'
|
|
version='6.18.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Access to the windowing system'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kwindowsystem-${version}.tar.xz")
|
|
depends=(libX11 libxcb qt6-base qt6-wayland wayland xcb-util-keysyms libXfixes libSM libXext qt6-declarative)
|
|
makedepends=(extra-cmake-modules qt6-tools doxygen qt6-declarative wayland-protocols)
|
|
sha256sums=('a0a046039a11baebacd96d836e5765b981426f60d2cea9ff9a99ba8dbe56178e')
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
}
|
|
|
|
|