Files
binary-repo/kde/frameworks/kwindowsystem/ympbuild
T
2024-02-07 22:46:57 +03:00

35 lines
717 B
Bash

#!/usr/bin/env bash
name='kwindowsystem'
release='2'
version='5.114.0'
url='https://community.kde.org/Frameworks'
description='Access to the windowing system'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/kwindowsystem-${version}.tar.xz")
depends=(qt5-x11extras)
makedepends=(extra-cmake-modules qt5-tools doxygen)
md5sums=('1f29f0749620d4aa8a4a5781af3f7e23')
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
}