pmaports/kde/kdeclarative/APKBUILD

33 lines
924 B
Text
Raw Normal View History

pkgname=kdeclarative
pkgver=5.36.0
pkgrel=1
pkgdesc='Provides integration of QML and KDE Frameworks'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kio kpackage libepoxy"
makedepends="extra-cmake-modules python doxygen qt5-qttools-dev kpackage kconfig kiconthemes kio-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$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="ca23c17bf46c7618b71e24dcf51c7bdb6f268e8eb6db9d25d144e8521988f605c17cce961abaf5815ffb2d998b10b0bce50f3e2707f49685ffb0b261a072ac0a kdeclarative-5.36.0.tar.xz"