[arch-commits] Commit in gnome-connections (3 files)
Balló György
bgyorgy at archlinux.org
Tue Apr 20 15:37:17 UTC 2021
Date: Tuesday, April 20, 2021 @ 15:37:16
Author: bgyorgy
Revision: 920065
archrelease: copy trunk to community-x86_64
Added:
gnome-connections/repos/
gnome-connections/repos/community-x86_64/
gnome-connections/repos/community-x86_64/PKGBUILD
(from rev 920064, gnome-connections/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: gnome-connections/repos/community-x86_64/PKGBUILD (from rev 920064, gnome-connections/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2021-04-20 15:37:16 UTC (rev 920065)
@@ -0,0 +1,39 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gnome-connections
+pkgver=40.0.1
+pkgrel=2
+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')
+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=('be9bcba07cf3faf5ace0ce54cd22f8609b4dc7766e25ee5fd9c180c3959b4d11')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Don't use legacy path for metainfo file
+ sed -i "s/datadir'), 'appdata/datadir'), 'metainfo/" data/meson.build
+}
+
+build() {
+ arch-meson $pkgname-$pkgver build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+
+ # 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}
+}
More information about the arch-commits
mailing list