42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Template file for 'accountsservice'
|
|
pkgname=accountsservice
|
|
version=0.6.54
|
|
revision=3
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dsystemdsystemunitdir=no $(vopt_bool gir introspection)"
|
|
hostmakedepends="glib-devel pkg-config"
|
|
makedepends="polkit-devel"
|
|
short_desc="D-Bus interfaces for querying and manipulating user account information"
|
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.freedesktop.org/wiki/Software/AccountsService/"
|
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=26e9062c84797e9604182d0efdb2231cb01c98c3c9b0fea601ca79a2802d21ac
|
|
make_dirs="
|
|
/var/lib/AccountsService/users 755 root root
|
|
/var/lib/AccountsService/icons 755 root root"
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# for ITS rules
|
|
hostmakedepends+=" polkit"
|
|
fi
|
|
|
|
accountsservice-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|