pkgname=kauth pkgver=5.50.0 pkgrel=1 pkgdesc='Abstraction to system policy and authentication features' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/kauth' license=('LGPL') depends=('kcoreaddons' 'polkit-qt5') makedepends=("extra-cmake-modules>=5.50.0" 'qt5-tools') checkdepends=('cmake') groups=('kf5') options=("debug") source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) sha256sums=('f7ecff8ee7f06372275f651e9a6f26c68efa0b0d9696ea33f1272173143af396' SKIP) validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure prepare() { mkdir -p build } echo ${KFBuildType} build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_SYSCONFDIR=/etc \ -DKDE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" make } # check() { # cd build # eval `dbus-launch --sh-syntax ` # make test # kill $DBUS_SESSION_BUS_PID # } package() { cd build make DESTDIR="${pkgdir}" install }