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

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:29:23 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:29:21
  Author: foutrelis
Revision: 405536

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libxrandr/repos/multilib-staging-x86_64/
  lib32-libxrandr/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 405535, lib32-libxrandr/trunk/PKGBUILD)

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

Copied: lib32-libxrandr/repos/multilib-staging-x86_64/PKGBUILD (from rev 405535, lib32-libxrandr/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2018-11-10 00:29:21 UTC (rev 405536)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander Baldeck <alexander at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+_pkgbasename=libxrandr
+pkgname=lib32-$_pkgbasename
+pkgver=1.5.1
+pkgrel=2
+pkgdesc="X11 RandR extension library (32-bit)"
+arch=('x86_64')
+license=('custom')
+url="http://xorg.freedesktop.org/"
+depends=('lib32-libxext' 'lib32-libxrender' $_pkgbasename)
+makedepends=('xorg-util-macros' gcc-multilib)
+source=(${url}/releases/individual/lib/libXrandr-${pkgver}.tar.bz2{,.sig})
+sha256sums=('1ff9e7fa0e4adea912b16a5f0cfa7c1d35b0dcda0e216831f7715c8a3abcf51a'
+            'SKIP')
+validpgpkeys=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # Dave Airlie <airlied at redhat.com>
+validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb at laas.fr>
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd "${srcdir}/libXrandr-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32
+  make
+}
+
+package() {
+  cd "${srcdir}/libXrandr-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{include,share,bin}
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}


More information about the arch-commits mailing list