34 lines
1004 B
Bash
34 lines
1004 B
Bash
# Template file for 'mate-polkit'
|
|
pkgname=mate-polkit
|
|
version=1.12.0
|
|
revision=1
|
|
build_pie=yes
|
|
build_style=gnu-configure
|
|
configure_args="--with-gtk=3.0 --disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
|
makedepends="gtk+3-devel polkit-devel"
|
|
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=c38f0a0c3d4e10fc95d27fa4e8d47eb6948e8c9279a82f316f563666571bf8b9
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
mate-polkit-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${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
|
|
}
|
|
}
|