diff options
author | Antonio Rojas | 2022-04-01 20:56:07 +0200 |
---|---|---|
committer | Antonio Rojas | 2022-04-01 20:56:07 +0200 |
commit | e2a74c029bd77ff8a68d376ab3d66f3ddb55723b (patch) | |
tree | 213b08fa26c705e65a31d9e3a3a2b9c275cd2c98 | |
download | aur-e2a74c029bd77ff8a68d376ab3d66f3ddb55723b.tar.gz |
import from community
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | PKGBUILD | 44 | ||||
-rw-r--r-- | reproducible-man-gzip.patch | 11 |
3 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..528919c8a7f0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = x2goclient + pkgdesc = a graphical client (Qt5) for the X2Go system + pkgver = 4.1.2.2 + pkgrel = 3 + url = https://wiki.x2go.org/doku.php + arch = x86_64 + license = GPL2 + makedepends = qt5-tools + makedepends = man2html + makedepends = xdg-utils + makedepends = xorg-xauth + depends = qt5-x11extras + depends = qt5-svg + depends = libldap + depends = libcups + depends = nxproxy + depends = libssh + depends = libxpm + depends = hicolor-icon-theme + optdepends = xorg-xauth: may be required by X2goservers running a different linux distribution giving MIT-COOKIE errors + source = https://code.x2go.org/releases/source/x2goclient/x2goclient-4.1.2.2.tar.gz + source = https://code.x2go.org/releases/source/x2goclient/x2goclient-4.1.2.2.tar.gz.asc + source = reproducible-man-gzip.patch + validpgpkeys = 9BFBAEE86C0AA5FFBF2207829AF46B3025771B31 + validpgpkeys = 1AD23D1B8F087A35AB74BDE9F4A7678C9C6B0B2B + sha256sums = c9953267c40fa67119ad96a73bacb1f266196da2059f0cdcd1b8d5199421d12a + sha256sums = SKIP + sha256sums = 8b309f0cc99d89737f47e57b79afdc9cccdd36ca3d0772040b1c3fdc0399a4d2 + +pkgname = x2goclient diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5cf0fac82d86 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: AndyRTR <andyrtr@archlinux.org> +# Contributor: Gerhard Brauer <gerbra@archlinux.de> +# Contributor: Richard Murri <admin@richardmurri.com> + +pkgname=x2goclient +pkgver=4.1.2.2 +pkgrel=3 +arch=('x86_64') +license=('GPL2') +url="https://wiki.x2go.org/doku.php" +pkgdesc="a graphical client (Qt5) for the X2Go system" +makedepends=('qt5-tools' 'man2html' 'xdg-utils' 'xorg-xauth') +depends=('qt5-x11extras' 'qt5-svg' + 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme') +# FS#48088 +optdepends=('xorg-xauth: may be required by X2goservers running a different linux distribution giving MIT-COOKIE errors') +source=(https://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc} + reproducible-man-gzip.patch) +sha256sums=('c9953267c40fa67119ad96a73bacb1f266196da2059f0cdcd1b8d5199421d12a' + 'SKIP' + '8b309f0cc99d89737f47e57b79afdc9cccdd36ca3d0772040b1c3fdc0399a4d2') +validpgpkeys=('9BFBAEE86C0AA5FFBF2207829AF46B3025771B31' # Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + '1AD23D1B8F087A35AB74BDE9F4A7678C9C6B0B2B') # "X2go Git Administrator <git-admin@x2go.org>" + +prepare() { + cd ${pkgname}-${pkgver} + sed -i "s:-o root -g root ::" Makefile + sed -i -e 's/qt4/qt5/' Makefile + + # remove timestamp to solve reproducible build + patch -Np1 -i ../reproducible-man-gzip.patch +} + +build() { + cd ${pkgname}-${pkgver} + make PREFIX=/usr + make PREFIX=/usr build_man +} + +package() { + + cd ${pkgbase}-${pkgver} + make PREFIX=/usr DESTDIR="$pkgdir" install_client install_man +} diff --git a/reproducible-man-gzip.patch b/reproducible-man-gzip.patch new file mode 100644 index 000000000000..dc27b1c976d2 --- /dev/null +++ b/reproducible-man-gzip.patch @@ -0,0 +1,11 @@ +--- x2goclient-4.1.2.2/Makefile 2020-05-29 14:08:58.007273439 +0200 ++++ x2goclient-4.1.2.2/Makefile.new 2020-05-29 17:39:44.803801609 +0200 +@@ -115,7 +115,7 @@ + $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/ + $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/man1 + $(INSTALL_FILE) man/man1/x2goclient.1 $(DESTDIR)$(MANDIR)/man1/x2goclient.1 +- gzip -f $(DESTDIR)$(MANDIR)/man1/x2goclient.1 ++ gzip -f -n $(DESTDIR)$(MANDIR)/man1/x2goclient.1 + + uninstall: uninstall_client uninstall_man + |