33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'libcloudproviders'
|
|
pkgname=libcloudproviders
|
|
version=0.3.6
|
|
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/World/libcloudproviders"
|
|
distfiles="${homepage}/-/archive/${version}/libcloudproviders-${version}.tar.gz"
|
|
checksum=fa25bdc2e415a717999f3d0bac8756dc0dcfe40e3ada864fadc26df0746a7116
|
|
|
|
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
|
|
}
|
|
}
|