void-packages/srcpkgs/mate-polkit/template
2015-05-21 20:31:16 +02:00

32 lines
986 B
Bash

# Template file for 'mate-polkit'
pkgname=mate-polkit
version=1.10.0
revision=1
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel polkit-devel $(vopt_if gir gobject-introspection)"
short_desc="PolicyKit integration for the MATE desktop"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=1ae3bbe5ddff6eab012c0b656082b07b2ad6618f3772d726a691afe0c4ea19b9
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
mate-polkit-devel_package() {
short_desc+=" - development files"
depends="polkit-devel mate-polkit>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}