051a33e2e9
Fix #377
32 lines
966 B
Text
32 lines
966 B
Text
pkgname=kjobwidgets
|
|
pkgver=5.37.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 kcoreaddons-dev kwidgetsaddons-dev qt5-x11extras-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="81192034d3385b661f3c6b33a197a9c8e621839598623cf7ae43815b1d7733b22ae7ce86d65edd5d21437a9bfe0ec3fd0097a3947c234eb5016efc072e5e4063 kjobwidgets-5.37.0.tar.xz"
|