[arch-commits] Commit in libx11/repos (3 files)

Andreas Radke andyrtr at gemini.archlinux.org
Wed Jul 6 14:16:52 UTC 2022


    Date: Wednesday, July 6, 2022 @ 14:16:52
  Author: andyrtr
Revision: 449939

archrelease: copy trunk to testing-x86_64

Added:
  libx11/repos/testing-x86_64/
  libx11/repos/testing-x86_64/PKGBUILD
    (from rev 449938, libx11/trunk/PKGBUILD)
  libx11/repos/testing-x86_64/keys/

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

Copied: libx11/repos/testing-x86_64/PKGBUILD (from rev 449938, libx11/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-07-06 14:16:52 UTC (rev 449939)
@@ -0,0 +1,43 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libx11
+pkgver=1.8.1
+pkgrel=3
+pkgdesc="X11 client-side library"
+arch=(x86_64)
+url="https://xorg.freedesktop.org/"
+# keep xorgproto runtime dependency
+# https://lists.archlinux.org/pipermail/arch-dev-public/2019-December/029767.html
+depends=('libxcb' 'xorgproto')
+makedepends=('xorg-util-macros' 'xtrans')
+license=('custom')
+source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.xz{,.sig})
+sha512sums=('2e36d2c47519e0cb2697f588c0ccdf73fbe75c2163f0855c78f7052dc9e920bca081f9d5e39c707a14067f101faef74fc758c8862eeba675b1535b43119d533a'
+            'SKIP')
+validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alanc at freedesktop.org>
+#validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb at laas.fr>
+#validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88 at gmail.com>
+#validpgpkeys=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <ajax at nwnk.net>
+#validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # "Keith Packard <keithp at keithp.com>"
+
+build() {
+  cd libX11-${pkgver}
+  ./configure --prefix=/usr \
+    --disable-static \
+    --disable-xf86bigfont
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd libX11-${pkgver}
+  make check
+}
+
+package() {
+  cd "${srcdir}/libX11-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list