void-packages/srcpkgs/polkit-gnome/template

22 lines
732 B
Bash

# Template file for 'polkit-gnome'
pkgname=polkit-gnome
version=0.105
revision=8
build_style=gnu-configure
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="polkit-devel gtk+3-devel"
short_desc="PolicyKit integration for the GNOME desktop"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
distfiles="${GNOME_SITE}/$pkgname/$version/$pkgname-$version.tar.xz"
checksum=1784494963b8bf9a00eedc6cd3a2868fb123b8a5e516e66c5eda48df17ab9369
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}
post_install() {
vinstall ${FILESDIR}/polkit-gnome-authentication-agent-1.desktop 644 usr/share/applications
}