Files
binary-repo/kde/frameworks/kpackage/ympbuild
T
2025-10-18 13:16:15 +00:00

36 lines
871 B
Bash
Executable File

#!/usr/bin/env bash
name='kpackage'
release='5'
version='6.18.0'
url='https://community.kde.org/Frameworks'
description='Framework that lets applications manage user installable packages of non-binary assets'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/kpackage-${version}.tar.xz")
depends=(qt6-base karchive ki18n kcoreaddons)
makedepends=(doxygen extra-cmake-modules qt6-tools kdoctools)
sha256sums=('1bc2e43bf2239dc20e836b70877631e103057fb14a9467290c76fa45ff02870e')
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_TESTING=OFF \
-DBUILD_QCH=ON
}
build () {
cmake --build build
}
package () {
INSTALL_ROOT="$DESTDIR" cmake --install build
}