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 +}