void-packages/srcpkgs/accountsservice/template

50 lines
1.5 KiB
Text
Raw Normal View History

# Template file for 'accountsservice'
pkgname=accountsservice
2014-03-23 09:26:08 +00:00
version=0.6.37
revision=1
build_style=gnu-configure
2012-11-17 09:27:28 +00:00
configure_args="--disable-static
ac_cv_file__etc_redhat_release=no ac_cv_file__etc_debian_version=no
2012-11-17 09:27:28 +00:00
--with-systemdsystemunitdir=/usr/lib/systemd/system"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="polkit-devel systemd-devel"
make_dirs="
/var/lib/AccountsService/users 755 root root
/var/lib/AccountsService/icons 755 root root"
short_desc="D-Bus interfaces for querying and manipulating user account information"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-09-30 09:36:49 +00:00
homepage="http://cgit.freedesktop.org/accountsservice/"
license="GPL-3"
2012-07-10 07:17:25 +00:00
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
2014-03-23 09:26:08 +00:00
checksum=b0b21136dc9d74a7135fd5ed7fa1a8069efb91bc6ecc1ef8911125433345a5c1
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
accountsservice-devel_package() {
2013-10-16 07:22:15 +00:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-10 04:50:52 +00:00
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
}
}