35 lines
856 B
Text
35 lines
856 B
Text
|
pkgname=kplotting
|
||
|
pkgver=5.36.0
|
||
|
pkgrel=1
|
||
|
pkgdesc='Lightweight plotting framework'
|
||
|
arch="all"
|
||
|
url='https://community.kde.org/Frameworks'
|
||
|
license="LGPL"
|
||
|
depends="qt5-qtbase"
|
||
|
makedepends="extra-cmake-modules mesa-dev doxygen qt5-qttools-dev"
|
||
|
groups="kf5"
|
||
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
||
|
subpackages="$pkgname-doc"
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p $srcdir/build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/build
|
||
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DKDE_INSTALL_LIBDIR=lib \
|
||
|
-DBUILD_TESTING=OFF \
|
||
|
-DBUILD_QCH=ON
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|
||
|
|
||
|
sha512sums="167841df6902e83966e2bba68faca1c9a68a44b2012128d3ce2e1aea1e08e3112c67c64bc2344201f958f9afd0fc35a7e1c232d9caa6deb68ab65be0c787b696 kplotting-5.36.0.tar.xz"
|