makedepends=(cmake polkit qtbase)

description="A library that allows developers to access PolicyKit API with a nice Qt-style API"
url="https://www.kde.org/"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=polkit-qt
version=0.200.0
release=1

source=(http://download.kde.org/stable/${name}-1/${name}-1-$version.tar.xz)

build() {
  mkdir build && cd build

  cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release  \
        -DLIB_DESTINATION=/usr/lib  \
        ../$name-1-$version

  make
  make DESTDIR=$PKG install
}
