33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'libcloudproviders'
|
|
pkgname=libcloudproviders
|
|
version=0.3.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir introspection) $(vopt_bool gir vapigen)"
|
|
hostmakedepends="pkg-config glib-devel $(vopt_if gir 'vala-devel')"
|
|
makedepends="libglib-devel"
|
|
short_desc="DBus API for cloud storage sync clients to expose their services"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/Incubator/libcloudproviders"
|
|
distfiles="${homepage}/-/archive/${version}/libcloudproviders-${version}.tar.gz"
|
|
checksum=bd00e7b85d84d201bd36f6e460555d8ba41246d63d5f3607ff7542a257f27236
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
libcloudproviders-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision} glib-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|