pmaports/kde/kcompletion/APKBUILD

32 lines
926 B
Text

pkgname=kcompletion
pkgver=5.37.0
pkgrel=1
pkgdesc='Text completion helpers and widgets'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kwidgetsaddons kconfig"
makedepends="extra-cmake-modules qt5-qttools-dev clang py3-qt5 doxygen kwidgetsaddons-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 \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="99cf1346f4048134d5219d451250122ca848d49c6ec26ab9e36562d2e654c18f3415ddd1b11e7a2459ce6b473c22cddb01135de9c773e8f0ae2f1c8d2f4d5ea4 kcompletion-5.37.0.tar.xz"