void-packages/srcpkgs/polkit-qt/template

28 lines
730 B
Plaintext
Raw Normal View History

2012-09-04 18:03:50 +02:00
# Template file for 'polkit-qt'
pkgname=polkit-qt
2014-08-06 02:21:26 +02:00
version=0.112.0
revision=1
2012-09-04 18:03:50 +02:00
build_style=cmake
2014-08-06 02:21:26 +02:00
configure_args="-DCMAKE_INSTALL_LIBDIR=lib"
hostmakedepends="pkg-config cmake automoc4 git"
makedepends="polkit-devel qt-devel"
2012-09-04 18:03:50 +02:00
short_desc="Qt-style PolicyKit API"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://projects.kde.org/projects/kdesupport/polkit-qt-1"
license="LGPL-2.1"
2014-08-06 02:21:26 +02:00
do_fetch() {
git clone -b v${version} git://anongit.kde.org/polkit-qt-1.git ${pkgname}-${version}
}
polkit-qt-devel_package() {
2014-08-06 02:21:26 +02:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
2014-02-17 17:51:18 +01:00
vmove "usr/lib/*.so"
}
}