# Template file for 'PackageKit' pkgname=PackageKit version=1.1.13 revision=1 wrksrc="PackageKit-PACKAGEKIT_${version//./_}" build_style=gnu-configure build_helper="gir" configure_args="--disable-static --disable-gtk-doc --disable-local --disable-dummy --disable-gstreamer-plugin --disable-gtk-module --disable-command-not-found --disable-systemd $(vopt_enable vala) $(vopt_enable gir introspection)" hostmakedepends="automake glib-devel pkg-config libtool gtk-doc gobject-introspection intltool gettext-devel autoconf-archive which $(vopt_if vala 'vala-devel')" makedepends="libglib-devel sqlite-devel polkit-devel bash-completion $(vopt_if gir gobject-introspection) $(vopt_if vala 'vala-devel')" short_desc="D-BUS abstraction layer to package management API" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="https://github.com/hughsie/PackageKit" distfiles="https://github.com/hughsie/PackageKit/archive/PACKAGEKIT_${version//./_}.tar.gz" checksum=01de3d2d38a17a6d01ffbb9d7d5bb1caf38c57155a8aa3c4cd11feb21ec3f877 conf_files="/etc/PackageKit/PackageKit.conf /etc/PackageKit/PackageKit.conf" build_options="gir vala" build_options_default="gir vala" pre_configure() { NOCONFIGURE=1 ./autogen.sh } PackageKit-devel_package() { depends="PackageKit-${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 if [ "$build_option_vala" ]; then vmove usr/share/vala fi } }