34 lines
967 B
Text
34 lines
967 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kdbusaddons
|
|
pkgver=5.49.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="9ea39e8996fabd64af10b85a91eaae9ce1576db0265201bf131b623df9c65ccaa86927418fce5920638c57a3d3a1d4d8ad369ea9d6596c23ce3f0a92477da17e kdbusaddons-5.49.0.tar.xz"
|