[arch-commits] Commit in xdg-desktop-portal-gnome/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Sat Nov 6 01:13:46 UTC 2021


    Date: Saturday, November 6, 2021 @ 01:13:46
  Author: heftig
Revision: 427391

41.1-1

Added:
  xdg-desktop-portal-gnome/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-06 01:13:46 UTC (rev 427391)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=xdg-desktop-portal-gnome
+pkgver=41.1
+pkgrel=1
+pkgdesc="A backend implementation for xdg-desktop-portal for the GNOME desktop environment"
+url="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
+arch=(x86_64)
+license=(LGPL)
+depends=('xdg-desktop-portal-gtk>=1.10.0-2' gtk4 gnome-keyring evince)
+makedepends=(xdg-desktop-portal meson git)
+provides=(xdg-desktop-portal-impl)
+conflicts=('xdg-desktop-portal-gtk<1.10.0-2')
+replaces=('xdg-desktop-portal-gtk<1.10.0-2')
+_commit=27ba392a415cec6e31d76305319f5ed729e2d2eb  # tags/41.1^0
+source=("git+https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}



More information about the arch-commits mailing list