Files
binary-repo/kde/frameworks/kcalendarcore/ympbuild
T
2024-04-13 22:55:19 +03:00

34 lines
753 B
Bash

#!/usr/bin/env bash
name='kcalendarcore'
release='2'
version='6.0.0'
url='https://community.kde.org/Frameworks'
description='The KDE calendar access library'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/kcalendarcore-${version}.tar.xz")
depends=(libical qt6-base)
makedepends=(extra-cmake-modules doxygen qt6-tools)
sha256sums=('641356ac286c1a5287327ce8fa2529bf53048e439d1ff672c925d4ab7e0eb7c2')
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
}