# Depends on: polkit gtk3

description="PolicyKit integration for the MATE desktop"
url="https://mate-desktop.org/"
packager="fanchyannmaria at orange dot fr, tnut at nutyx dot org, jayce dot net at gmail dot com"

name=mate-polkit
version=1.18.1
release=1
source=(http://pub.mate-desktop.org/releases/${version%.*}/$name-$version.tar.xz)

build() {
  cd $name-$version
  ./configure \
          --prefix=/usr \
          --libexecdir=/usr/lib/${name} \
          --sysconfdir=/etc \
          --localstatedir=/var \
          --enable-introspection \
          --disable-static
  make
  make DESTDIR=$PKG install
}
