1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Balló György <ballogyor+arch at gmail dot com>
5 pkgver=0.0.13+12+gaa6b6f4
7 pkgdesc="Library full of GTK+ widgets for mobile phones"
8 url="https://gitlab.gnome.org/GNOME/libhandy"
12 makedepends=(git gobject-introspection meson vala)
13 checkdepends=(xorg-server-xvfb)
14 provides=(libhandy-0.0.so)
15 _commit=aa6b6f43d505383538a2a3e7b4fcdd6a8ada85ff # libhandy-0-0
16 source=("git+https://gitlab.gnome.org/GNOME/libhandy.git#commit=$_commit")
25 git describe --tags | sed 's/^v//;s/-/+/g'
29 arch-meson libhandy build \
30 -D glade_catalog=disabled \
32 meson compile -C build
36 dbus-run-session xvfb-run \
37 -s '-screen 0 1920x1080x24 -nolisten local' \
38 meson test -C build --print-errorlogs
42 DESTDIR="$pkgdir" meson install -C build