pmaports/kde/frameworkintegration/APKBUILD

33 lines
1 KiB
Text

pkgname=frameworkintegration
pkgver=5.37.0
pkgrel=1
pkgdesc='Framework providing components to allow applications to integrate with a KDE Workspace'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kpackage knewstuff"
makedepends="extra-cmake-modules python kconfigwidgets-dev kiconthemes-dev knotifications-dev
kpackage-dev knewstuff-dev qt5-x11extras-dev attica-qt5-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-dev"
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 \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="ecff45b2d7138621b19b9b276c4a2d7940c156ee81d85789d598178179e524ed6fef014c9d6615b91d2ea9c4c9a058d5009f44899834c541c36301f9ca581dd7 frameworkintegration-5.37.0.tar.xz"