pmaports/kde/kactivities/APKBUILD

35 lines
1 KiB
Text
Raw Normal View History

pkgname=kactivities
pkgver=5.37.0
pkgrel=1
arch="all"
pkgdesc="Core components for the KDE's Activities"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kcoreaddons kconfig kwindowsystem qt5-qtdeclarative kio"
makedepends="extra-cmake-modules boost python doxygen qt5-qttools-dev kcoreaddons-dev kconfig-dev
kwindowsystem-dev qt5-qtdeclarative-dev kio-dev boost-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"
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 \
-DQML_INSTALL_DIR=lib/qt/qml \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="c226d2d0027253f3507a8f9aa5c4b5755ddfe2d20e512658fe64b263cee1120355af19207db1cc6afef8b65a6b41439672bae7867539961b783742425baa8e45 kactivities-5.37.0.tar.xz"