diff options
Diffstat (limited to 'community/alkimia')
-rw-r--r-- | community/alkimia/APKBUILD | 36 |
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" |