31 lines
889 B
Bash
31 lines
889 B
Bash
# Template file for 'kdbusaddons'
|
|
pkgname=kdbusaddons
|
|
version=5.91.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools qt5-tools-devel"
|
|
makedepends="qt5-devel qt5-tools-devel qt5-x11extras-devel"
|
|
checkdepends="dbus"
|
|
short_desc="KDE Convenience classes for DBus"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kdbusaddons"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=3a726a9ba053c2e484b5d1d2e53b361bcfb039414df488d6bc7e29a281bc10a3
|
|
|
|
do_check() {
|
|
cd build
|
|
dbus-run-session ctest
|
|
}
|
|
|
|
kdbusaddons-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|