38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'libgnome-keyring'
|
|
pkgname=libgnome-keyring
|
|
version=3.12.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
|
makedepends="dbus-devel libglib-devel libgcrypt-devel"
|
|
checkdepends="glib-devel"
|
|
short_desc="GNOME keyring client library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
|
homepage="http://www.gnome.org"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
libgnome-keyring-devel_package() {
|
|
depends="libglib-devel ${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
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|