2014-11-03 09:52:18 +00:00
|
|
|
# Template file for 'polkit-qt5'
|
|
|
|
pkgname=polkit-qt5
|
|
|
|
version=0.112.0
|
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="pkg-config cmake automoc4 git"
|
|
|
|
makedepends="polkit-devel qt5-devel"
|
|
|
|
short_desc="Qt-style PolicyKit API (Qt5)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-11-27 08:11:14 +00:00
|
|
|
update_site="http://quickgit.kde.org/?p=polkit-qt-1.git"
|
|
|
|
update_pattern=';t=v\K[\d.]+(?=")'
|
2014-11-03 09:52:18 +00:00
|
|
|
homepage="https://projects.kde.org/projects/kdesupport/polkit-qt-1"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b v${version} git://anongit.kde.org/polkit-qt-1.git ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
polkit-qt5-devel_package() {
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|