# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=libksane pkgver=${_kdever} pkgrel=1 pkgdesc="Library providing QWidget with all the logic to interface scanners" arch=('x86_64') url='https://invent.kde.org/graphics/libksane' license=('GPL' 'LGPL' 'FDL') depends=('ki18n' 'kwallet' 'kwidgetsaddons' 'ktextwidgets' 'ksanecore') makedepends=('extra-cmake-modules') groups=('kde-graphics') source=("$_mirror/${pkgname}-$_kdever.tar.xz") md5sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`) build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }