2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kcmutils
|
2017-08-14 23:23:23 +00:00
|
|
|
pkgver=5.37.0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Utilities for interacting with KCModules'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
|
|
|
license="LGPL"
|
|
|
|
depends="kdeclarative"
|
2017-08-14 23:23:23 +00:00
|
|
|
makedepends="extra-cmake-modules python doxygen qt5-qttools-dev kdeclarative-dev kiconthemes-dev
|
2017-08-17 16:19:36 +00:00
|
|
|
kpackage-dev qt5-qtdeclarative-dev kitemviews-dev kconfigwidgets-dev kauth-dev
|
|
|
|
kcoreaddons-dev kcodecs-dev kconfig-dev kwidgetsaddons-dev ki18n-dev kservice-dev
|
|
|
|
kxmlgui-dev"
|
2017-08-03 20:14:04 +00:00
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
2017-08-14 23:23:23 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2017-08-14 23:23:23 +00:00
|
|
|
sha512sums="8f882a6863f0632ea6ee84ac0bf4197430a11f17a6dae267ebecac49f6424b405bd3fbcdcafdb84afcd04b3b9bb47b6693f8ad07e702221c3f0c720f5ef32077 kcmutils-5.37.0.tar.xz"
|