pmaports/kde/plasma-framework/APKBUILD

35 lines
1.1 KiB
Text
Raw Normal View History

pkgname=plasma-framework
pkgver=5.37.0
pkgrel=1
pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="qt5-qtquickcontrols kactivities-dev kdeclarative-dev kwayland-dev kio-dev"
makedepends="extra-cmake-modules qt5-qttools-dev kdoctools python kactivities
kdeclarative-dev knotifications-dev qt5-qtdeclarative-dev qt5-qtsvg-dev
kio-dev kwayland-dev kdbusaddons-dev qt5-x11extras-dev"
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="35210f11a06b12ae45ec80d11b251883c1fd993c5a7bd8604f115a3d8ca8d13c269a88c37d0336b79baab402d070017286efa1e918c6768dcc7c9e7831a366cc plasma-framework-5.37.0.tar.xz"