pmaports/kde/kconfig/APKBUILD

34 lines
840 B
Text
Raw Normal View History

pkgname=kconfig
pkgver=5.36.0
pkgrel=1
pkgdesc='Configuration system'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="qt5-qtbase"
makedepends="extra-cmake-modules qt5-qttools-dev clang py3-qt5 doxygen"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
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 \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="5da8e6b3d55c870e0cc1ee774119b8e4d01b7fcae885f37cb4d305f246dd6d22cc5385f52579b2860d52d14ab816f914048385bd896c063e07b1ca0d70735d27 kconfig-5.36.0.tar.xz"