35 lines
894 B
Bash
35 lines
894 B
Bash
#!/usr/bin/env bash
|
|
name='plasma5support'
|
|
release='2'
|
|
version='6.0.0'
|
|
url='https://kde.org/plasma-desktop'
|
|
description='Support components for porting from KF5/Qt5 to KF6/Qt6'
|
|
email='brkt8khn@gmailmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('GPLv2')
|
|
source=("https://download.kde.org/stable/plasma/${version}/plasma5support-${version}.tar.xz")
|
|
depends=(kconfig kcoreaddons ki18n qt6-base qt6-declarative)
|
|
makedepends=(extra-cmake-modules plasma-wayland-protocols qt6-tools)
|
|
sha256sums=('aa131487ff2c75c892ce8c52813b6e1fe2d6a49f52ed08f38700e22c0e99ebed')
|
|
group=(kde.plasma)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_TESTING=ON \
|
|
-DBUILD_QCH=ON
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
} |