Files
binary-repo/kde/plasma/kwayland/ympbuild
T
2024-10-12 15:49:07 +03:00

35 lines
938 B
Bash
Executable File

#!/usr/bin/env bash
name='kwayland'
release='4'
version='6.2.0'
url='https://community.kde.org/Frameworks'
description='Qt-style Client and Server library wrapper for the Wayland libraries'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/plasma/${version}/kwayland-${version}.tar.xz")
#source=("https://download.kde.org/stable/frameworks/${version%.*}/kwayland-${version}.tar.xz")
depends=(qt6-base qt6-wayland wayland)
makedepends=(extra-cmake-modules doxygen qt6-tools wayland-protocols plasma-wayland-protocols)
sha256sums=('7ffe0c2b1f82315b6226c50cfb752e6738e576fbf70b7296d1717b3d86226244')
group=(kde.plasma)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
}
build () {
cmake --build build
}
package () {
INSTALL_ROOT="$DESTDIR" cmake --install build
}