Date: Monday, June 7, 2021 @ 05:37:10 Author: lcarlier Revision: 417242
archrelease: copy trunk to testing-x86_64 Added: libx11/repos/testing-x86_64/ libx11/repos/testing-x86_64/PKGBUILD (from rev 417241, libx11/trunk/PKGBUILD) ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Copied: libx11/repos/testing-x86_64/PKGBUILD (from rev 417241, libx11/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-06-07 05:37:10 UTC (rev 417242) @@ -0,0 +1,42 @@ +# Maintainer: Andreas Radke <andy...@archlinux.org> +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=libx11 +pkgver=1.7.2 +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.bz2{,.sig}) +sha512sums=('d01e5c1848c76218605e5af2d353de6b301a251555b52a38dbe930e6635d5e8a92d1486eb6d328ad5d42a5939e0d16868ffa19a75e5a7863d1a32e0d0727bdc7' + 'SKIP') +validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <al...@freedesktop.org> +#validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.he...@laas.fr> +#validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <matts...@gmail.com> +#validpgpkeys=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <a...@nwnk.net> +#validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # "Keith Packard <kei...@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}/" +}