diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-07-16 00:38:36 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-15 22:07:18 -0300 |
commit | 4a7bb00e574270e6fcc6ce1ed598188af74237ab (patch) | |
tree | e1536ccd3542dcf8cabdc107b18fcaa6ca298b7d /testing/kcalc | |
parent | cfd73fc2c0cffe3018c720cd9f1418a7799818da (diff) | |
download | aports-4a7bb00e574270e6fcc6ce1ed598188af74237ab.tar.bz2 aports-4a7bb00e574270e6fcc6ce1ed598188af74237ab.tar.xz |
testing/kcalc: new aport
Diffstat (limited to 'testing/kcalc')
-rw-r--r-- | testing/kcalc/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/kcalc/APKBUILD b/testing/kcalc/APKBUILD new file mode 100644 index 0000000000..7af9e9a589 --- /dev/null +++ b/testing/kcalc/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kcalc +pkgver=19.04.3 +pkgrel=0 +arch="all" +url="https://kde.org/applications/utilities/org.kde.kcalc" +pkgdesc="Scientific Calculator" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev kcrash-dev kconfig-dev kconfigwidgets-dev kdoctools-dev kguiaddons-dev ki18n-dev kinit-dev knotifications-dev kxmlgui-dev gmp-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +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="7751ac0ce76aaf99d237c39deb9d25c058c43edb1ef31f03a8d222477d3ae32e2bbae9ce6ac5251f4a981ba25309481af40cbddebfce5ad71d9aee9568bda5bb kcalc-19.04.3.tar.xz" |