aboutsummaryrefslogtreecommitdiffstats
path: root/community/alkimia
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 22:36:50 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:42 +0000
commita2c4c93a866c451715f42b5006b4aa6da72a15bf (patch)
tree91b58946c43e017b4a6936d8e1ba855abb9e719a /community/alkimia
parentf72adbbfcc154cbeae25f6496b0857d2e414b4ec (diff)
downloadaports-a2c4c93a866c451715f42b5006b4aa6da72a15bf.tar.bz2
aports-a2c4c93a866c451715f42b5006b4aa6da72a15bf.tar.xz
community/alkimia: move from testing
Diffstat (limited to 'community/alkimia')
-rw-r--r--community/alkimia/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/alkimia/APKBUILD b/community/alkimia/APKBUILD
new file mode 100644
index 0000000000..6459b2c49f
--- /dev/null
+++ b/community/alkimia/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=alkimia
+pkgver=8.0.3
+pkgrel=1
+arch="all !armhf !mips !mips64" # armhf blocked by qt5-qtdeclarative, mips blocked by qt5-qtwebkit-dev
+url="https://community.kde.org/Alkimia/libalkimia"
+pkgdesc="A library with common classes and functionality used by finance applications for the KDE SC"
+license="GPL-3.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebkit-dev
+ qt5-qtdeclarative-dev kconfig-dev kcoreaddons-dev kcompletion-dev ki18n-dev
+ kpackage-dev plasma-framework-dev knewstuff-dev kio-dev kiconthemes-dev
+ ktextwidgets-dev kdoctools-dev kitemmodels-dev kdelibs4support-dev
+ kinit-dev gmp-dev doxygen graphviz"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/alkimia/$pkgver/alkimia-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E 'alkonlinequotestest'
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+
+sha512sums="04debd3adeba6380ffe7e9d3949e927dca12ecd7f83dea7b7ba6295b158272c636978c89800757166889e632fed09f3e8b3ce19adc9b91e3369e3b16a5b6cb1e alkimia-8.0.3.tar.xz"