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

Laurent Carlier lcarlier at archlinux.org
Fri Jul 31 15:55:46 UTC 2020


    Date: Friday, July 31, 2020 @ 15:55:46
  Author: lcarlier
Revision: 666206

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libx11/repos/multilib-testing-x86_64/
  lib32-libx11/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 666205, lib32-libx11/trunk/PKGBUILD)

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

Copied: lib32-libx11/repos/multilib-testing-x86_64/PKGBUILD (from rev 666205, lib32-libx11/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2020-07-31 15:55:46 UTC (rev 666206)
@@ -0,0 +1,45 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+_pkgbasename=libx11
+pkgname=lib32-$_pkgbasename
+pkgver=1.6.10
+pkgrel=1
+pkgdesc="X11 client-side library (32-bit)"
+arch=(x86_64)
+url="https://xorg.freedesktop.org/"
+depends=('lib32-libxcb' $_pkgbasename)
+makedepends=('xorg-util-macros' 'xorgproto' 'xtrans' 'gcc-multilib')
+license=('custom:XFREE86')
+source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2{,.sig})
+sha512sums=('ad384d8896fbe587f7fd99b0d3cc56fac6e2facbab52fa99174200d06b19dd163a483c998acf3834b3a4a3aa4de0dbbe13919a1c80e6797afe467c7075b403ff'
+            '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>
+
+build() {
+  export CC="gcc -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd libX11-${pkgver}
+  ./configure --prefix=/usr --disable-static --disable-xf86bigfont \
+      --libdir=/usr/lib32 --disable-specs
+  make
+}
+
+check() {
+  cd libX11-${pkgver}
+
+  make check
+}
+
+package() {
+  cd libX11-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{include,share}
+
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list