2014-08-31 17:09:46 +02:00
|
|
|
# Template file for 'mate-polkit'
|
|
|
|
pkgname=mate-polkit
|
|
|
|
version=1.8.0
|
2014-08-31 19:08:25 +02:00
|
|
|
revision=3
|
2014-08-31 17:09:46 +02:00
|
|
|
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"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-08-31 17:09:46 +02:00
|
|
|
license="LGPL-3"
|
|
|
|
homepage="http://mate-desktop.org"
|
|
|
|
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=bc01640c63f6248497ca78c3d8df8ff608d8bf1fbfce7c11416b014a109aeccd
|
|
|
|
|
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2014-08-31 17:33:55 +02:00
|
|
|
mate-polkit-devel_package() {
|
2014-08-31 17:09:46 +02:00
|
|
|
short_desc+=" - development files"
|
2014-08-31 19:08:25 +02:00
|
|
|
depends="polkit-devel mate-polkit>=${version}_${revision}"
|
2014-08-31 17:09:46 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|