void-packages/srcpkgs/PackageKit/template

43 lines
1.4 KiB
Bash
Raw Normal View History

2018-10-10 20:14:51 +00:00
# Template file for 'PackageKit'
pkgname=PackageKit
version=1.1.11
revision=1
wrksrc="PackageKit-PACKAGEKIT_${version//./_}"
build_style=gnu-configure
configure_args="--disable-static --disable-gtk-doc --disable-local
--disable-dummy --disable-gstreamer-plugin --disable-gtk-module
--disable-command-not-found --disable-systemd"
hostmakedepends="automake glib-devel pkg-config libtool gtk-doc
gobject-introspection intltool gettext-devel autoconf-archive"
makedepends="libglib-devel sqlite-devel polkit-devel bash-completion
$(vopt_if gir gobject-introspection)"
short_desc="D-BUS abstraction layer to package management API"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/hughsie/PackageKit"
distfiles="https://github.com/hughsie/PackageKit/archive/PACKAGEKIT_${version//./_}.tar.gz"
checksum=cc703b9af6d5e15d433aa4fb6eea69ae98e9c0d312f0bb3dd00a458564fd5edf
conf_files="/etc/PackageKit/PackageKit.conf /etc/PackageKit/PackageKit.conf"
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_option_default="gir"
fi
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
}
}