[arch-commits] Commit in libx11/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Andreas Radke andyrtr at gemini.archlinux.org
Sat Apr 30 12:30:33 UTC 2022


    Date: Saturday, April 30, 2022 @ 12:30:33
  Author: andyrtr
Revision: 444332

archrelease: copy trunk to testing-x86_64

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

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

Copied: libx11/repos/testing-x86_64/PKGBUILD (from rev 444331, libx11/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-04-30 12:30:33 UTC (rev 444332)
@@ -0,0 +1,41 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libx11
+pkgver=1.8
+pkgrel=1
+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=('64899ba9efbda00211daf08534a2a98eba86bb377980d21ce319106075cd36b511b17245d02e8ebd1045e7c2147f2c005004bcf579121138be7a7b879eeca83b'
+            '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