pmaports/kde/polkit-qt5/APKBUILD
PureTryOut 689b8e4fec Added all missing makedepends, and removed some optional dependencies (#398)
* Added all missing makedepends, and removed some optional dependencies
* Made dbus-nox11-libs properly replace dbus-x11
* Add missing breeze-dev subpackage
2017-08-17 16:19:36 +00:00

30 lines
767 B
Text

pkgname="polkit-qt5"
pkgver=0.112.0
pkgrel=0
pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
arch="all"
url='https://www.kde.org/'
license="LGPL"
depends="polkit"
makedepends="cmake automoc4 polkit-dev qt5-qtbase-dev"
source="$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-dev"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake "$srcdir"/$pkgname \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_DESTINATION=/usr/lib
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="09c3b4788decfde30f19f650997473b5455e70d5d20abc48380c72a7134a5e214ac9aa9083d2ae92b5741fd07feae6a49d933bfb997a9cfc59eb9390397b2c9b polkit-qt5-0.112.0.tar.gz"