pmaports/kde/kdbusaddons/APKBUILD

33 lines
867 B
Text
Raw Normal View History

pkgname=kdbusaddons
pkgver=5.37.0
pkgrel=1
pkgdesc='Addons to QtDBus'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="qt5-x11extras"
makedepends="extra-cmake-modules qt5-qttools-dev clang py3-qt5 doxygen"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake "$srcdir"/${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="a581366eae4e8ceaa9bc544adf951d734a3feddc19287bf2cb5818cff71f46ed59976bc9fc1487b3578c896bd1ac3fdff57d08510951007596b3907116025f39 kdbusaddons-5.37.0.tar.xz"