From d2598919e0f37aba7811764387b3a00849f943ff Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 2 Oct 2022 23:50:03 +0000 Subject: [PATCH] added extra/libcloudproviders --- extra/libcloudproviders/PKGBUILD | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 extra/libcloudproviders/PKGBUILD diff --git a/extra/libcloudproviders/PKGBUILD b/extra/libcloudproviders/PKGBUILD new file mode 100644 index 000000000..27a49217d --- /dev/null +++ b/extra/libcloudproviders/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Jan Alexander Steffens (heftig) +# Contributor: Maxime Gauduin +# Contributor: Fina Wilke + +# remove when bumped upstream + +pkgname=libcloudproviders +pkgver=0.3.1 +pkgrel=2 +pkgdesc="DBus API that allows cloud storage sync clients to expose their services" +url="https://gitlab.gnome.org/World/libcloudproviders" +arch=(x86_64) +license=(LGPL3) +depends=(glib2) +makedepends=(git gobject-introspection meson vala gtk-doc) +_commit=4672d39320f4ef6091a4977b8e6a4ac079296c26 # tags/0.3.1^0 +source=("git+https://gitlab.gnome.org/World/libcloudproviders.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build -D enable-gtk-doc=true + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}