2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kjobwidgets
|
2017-08-14 23:23:23 +00:00
|
|
|
pkgver=5.37.0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Widgets for tracking KJob instances'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
|
|
|
license="LGPL"
|
|
|
|
depends="kcoreaddons kwidgetsaddons qt5-x11extras"
|
2017-08-14 23:23:23 +00:00
|
|
|
makedepends="extra-cmake-modules qt5-qttools-dev clang py3-qt5 doxygen kcoreaddons-dev kwidgetsaddons-dev qt5-x11extras-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="81192034d3385b661f3c6b33a197a9c8e621839598623cf7ae43815b1d7733b22ae7ce86d65edd5d21437a9bfe0ec3fd0097a3947c234eb5016efc072e5e4063 kjobwidgets-5.37.0.tar.xz"
|