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

36 lines
753 B
Bash
Executable File

#!/usr/bin/env bash
name='kplotting'
release='4'
version='6.7.0'
url='https://community.kde.org/Frameworks'
description='Lightweight plotting framework'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/kplotting-${version}.tar.xz")
depends=(qt6-base)
makedepends=(extra-cmake-modules doxygen qt6-tools)
sha256sums=('130eedc234f0fedaf2c415de895c979454f64c3b049043327d43cd509e2386b3')
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_QCH=ON
}
build () {
cmake --build build
}
package () {
DESTDIR="$DESTDIR" cmake --install build
}