mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-02 06:22:37 +01:00
32 lines
973 B
Plaintext
32 lines
973 B
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kmplot
|
|
pkgver=19.08.1
|
|
pkgrel=0
|
|
arch="all"
|
|
url="http://edu.kde.org/kmplot"
|
|
pkgdesc="Mathematical Function Plotter"
|
|
license="GPL-2.0-or-later AND GFDL-1.2-only"
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcrash-dev kguiaddons-dev ki18n-dev kparts-dev kwidgetsaddons-dev kdoctools-dev kdbusaddons-dev"
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/kmplot-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make install
|
|
}
|
|
|
|
sha512sums="dd76ff8a23a100f106fd7895db1058c2d9df631f9f79b38ba58ffbf0577429dc78676904bb21f0bbb11128d76b5dac2d4cb3fdc70ad831716dcd908e5208e93f kmplot-19.08.1.tar.xz"
|