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

Laurent Carlier lcarlier at archlinux.org
Sat May 22 07:44:40 UTC 2021


    Date: Saturday, May 22, 2021 @ 07:44:40
  Author: lcarlier
Revision: 941240

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   93 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-22 07:44:35 UTC (rev 941239)
+++ PKGBUILD	2021-05-22 07:44:40 UTC (rev 941240)
@@ -1,46 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-_pkgbasename=libx11
-pkgname=lib32-$_pkgbasename
-pkgver=1.7.0
-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=('f661ca90350fd8a94f054b00f12f5122cea068ebff706acfd399462236c189a296a2358d17d16166635101cf56cc19303dd407873a159932d093c9f33556f9fb'
-            '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() {
-  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"
-}

Copied: lib32-libx11/repos/multilib-x86_64/PKGBUILD (from rev 941239, lib32-libx11/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-22 07:44:40 UTC (rev 941240)
@@ -0,0 +1,47 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+_pkgbasename=libx11
+pkgname=lib32-$_pkgbasename
+pkgver=1.7.1
+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=('a76f0a82fce6f9b50646a7cd7ec5ee046650f225816050226068a7548fa083ef07d146d40faaf44e033c59c17b0fda5ffdee3a127dac3ab56cee02133819aa3d'
+            '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() {
+  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
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  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