pmaports/kde/kdesignerplugin/APKBUILD

35 lines
952 B
Text
Raw Normal View History

pkgname=kdesignerplugin
pkgver=5.37.0
pkgrel=1
pkgdesc='Integration of Frameworks widgets in Qt Designer/Creator'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kio kplotting"
makedepends="extra-cmake-modules qt5-qttools-dev python kdoctools-dev kio-dev kcoreaddons-dev
kconfig-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 \
-DKF5WebKit_FOUND=OFF
make
}
package() {
cd $srcdir/build
make DESTDIR="$pkgdir" install
}
sha512sums="e68ec94d9e7b52c90e4b7a8ba70e8b3dcdf95365f5237285e681c7b6ea2e763876a25be787fa3e154cf535f0dff8f28246376206b11f6cfa7670383800bd67cb kdesignerplugin-5.37.0.tar.xz"