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

36 lines
753 B
Bash

#!/usr/bin/env bash
name='kplotting'
release='2'
version='6.0.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=('dc43644b7632344bd413d754aa7dd1052a3cde9230193abf5da47de1341a63ff')
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
}