[arch-commits] Commit in libhandy0/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Sep 27 16:29:26 UTC 2020
Date: Sunday, September 27, 2020 @ 16:29:25
Author: heftig
Revision: 396730
0.0.13+12+gaa6b6f4-1
Added:
libhandy0/trunk/PKGBUILD
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-27 16:29:25 UTC (rev 396730)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=libhandy0
+pkgver=0.0.13+12+gaa6b6f4
+pkgrel=1
+pkgdesc="Library full of GTK+ widgets for mobile phones"
+arch=(x86_64)
+url="https://source.puri.sm/Librem5/libhandy"
+license=(LGPL)
+depends=(glib2 gtk3)
+makedepends=(git gobject-introspection meson vala)
+checkdepends=(xorg-server-xvfb)
+provides=(libhandy-0.0.so)
+_commit=aa6b6f43d505383538a2a3e7b4fcdd6a8ada85ff # libhandy-0-0
+source=("git+https://gitlab.gnome.org/GNOME/libhandy.git#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+ cd libhandy
+}
+
+pkgver() {
+ cd libhandy
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ arch-meson libhandy build \
+ -D glade_catalog=disabled \
+ -D gtk_doc=true \
+ -D examples=false
+ meson compile -C build
+}
+
+check() {
+ dbus-run-session xvfb-run \
+ -s '-screen 0 1920x1080x24 -nolisten local' \
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list