mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-27 19:41:56 +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.3
|
|
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="2a2925658ecae3d976a81a3830f8aff71df5ab314f0326378fb2fa95b9aacb364ab5b5603a7bfbc36aa6f3ec88ee6ccdeda4283ac3a0d9c4bb12ba4bb1681979 kmplot-19.08.3.tar.xz"
|