pmaports/kde/kdbusaddons/APKBUILD
2018-03-10 15:44:09 +00:00

34 lines
967 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdbusaddons
pkgver=5.44.0
pkgrel=0
pkgdesc='Addons to QtDBus'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL-2.1"
depends=""
makedepends="extra-cmake-modules qt5-qttools-dev clang doxygen shared-mime-info"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
options="!check" # Requires running dbus-daemon
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
sha512sums="1bc040c10bcfe9b2fc38227747a734141d944f4ff93f48e485eae7448aba4fdd094103bd554ad461e7b1b8a180c5be0c575a69c0bc3e6f8988eb4ed0979b5fc6 kdbusaddons-5.44.0.tar.xz"