Date: Monday, May 1, 2023 @ 21:31:43
  Author: heftig
Revision: 1455767

archrelease: copy trunk to community-staging-x86_64

Added:
  gnome-connections/repos/community-staging-x86_64/
  gnome-connections/repos/community-staging-x86_64/PKGBUILD
    (from rev 1455765, gnome-connections/trunk/PKGBUILD)

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

Copied: gnome-connections/repos/community-staging-x86_64/PKGBUILD (from rev 
1455765, gnome-connections/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-05-01 21:31:43 UTC (rev 1455767)
@@ -0,0 +1,55 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Fabian Bornschein <fabiscafe-cat-mailbox-dog-org>
+
+pkgname=gnome-connections
+pkgver=44.1
+pkgrel=1
+pkgdesc='Remote desktop client for the GNOME desktop environment'
+arch=('x86_64')
+url='https://gitlab.gnome.org/GNOME/connections'
+license=('GPL3')
+depends=(
+  'freerdp'
+  'gtk-vnc'
+  'libhandy'
+  'libsecret'
+)
+makedepends=(
+  'appstream-glib'
+  'gobject-introspection'
+  'itstool'
+  'meson'
+  'vala'
+)
+groups=('gnome-extra')
+options=('!emptydirs')
+source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz";)
+sha256sums=('136a2d924b077d5cc4100c845826d471444230a16c8dac2732113680171a626b')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # Don't use legacy path for metainfo file
+  sed -i "s/datadir'), 'appdata/datadir'), 'metainfo/" data/meson.build
+  # Add categories to desktop file
+  sed -i 
's/Categories=GTK;/Categories=GNOME;GTK;Utility;RemoteAccess;Network;/' \
+    data/org.gnome.Connections.desktop.in
+
+}
+
+build() {
+  arch-meson $pkgname-$pkgver build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+
+  # Remove unneeded development files
+  rm -r "$pkgdir"/usr/include/gnome-connections/gtk-frdp \
+        "$pkgdir"/usr/lib/gnome-connections/{girepository-1.0,pkgconfig} \
+        "$pkgdir"/usr/share/gnome-connections/{gir-1.0,vapi}
+}

Reply via email to