32 lines
859 B
Text
32 lines
859 B
Text
|
pkgname=kjobwidgets
|
||
|
pkgver=5.36.0
|
||
|
pkgrel=1
|
||
|
pkgdesc='Widgets for tracking KJob instances'
|
||
|
arch="all"
|
||
|
url='https://community.kde.org/Frameworks'
|
||
|
license="LGPL"
|
||
|
depends="kcoreaddons kwidgetsaddons qt5-x11extras"
|
||
|
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 \
|
||
|
-DBUILD_TESTING=OFF \
|
||
|
-DBUILD_QCH=ON
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|
||
|
sha512sums="b890a7b6b9b5b8fc1a536cff8854b5cc9d283474c4cfe8a8f332d58447e79c4c29ffb3d6100ee776ae889e27da3aa90a765bf968d39f5e03cd804be16983dbaa kjobwidgets-5.36.0.tar.xz"
|