[arch-commits] Commit in lib32-xcb-util-keysyms/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Jan 25 17:33:17 UTC 2019


    Date: Friday, January 25, 2019 @ 17:33:16
  Author: felixonmars
Revision: 427894

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-xcb-util-keysyms/repos/multilib-x86_64/
  lib32-xcb-util-keysyms/repos/multilib-x86_64/PKGBUILD
    (from rev 427893, lib32-xcb-util-keysyms/trunk/PKGBUILD)

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

Copied: lib32-xcb-util-keysyms/repos/multilib-x86_64/PKGBUILD (from rev 427893, lib32-xcb-util-keysyms/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-x86_64/PKGBUILD	2019-01-25 17:33:16 UTC (rev 427894)
@@ -0,0 +1,41 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=lib32-xcb-util-keysyms
+_pkgname=xcb-util-keysyms
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes"
+arch=('x86_64')
+url="https://xcb.freedesktop.org"
+license=('custom')
+depends=('lib32-libxcb' $_pkgname)
+makedepends=('xorg-util-macros')
+source=("https://xcb.freedesktop.org/dist/${_pkgname}-${pkgver}.tar.bz2")
+sha512sums=('b14b3100c3ae2379f9df799c0780a1ee39267101e58e4c1c6f390f039348ca2b370bb1df203b9bc68a170d664188d9c73e3553a7ba24d98abea3ed353e8dc0c4')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  ./configure --prefix=/usr --libdir=/usr/lib32 --disable-static
+  make
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  make check
+}
+
+package() { 
+  cd ${_pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{include,share}
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s $_pkgname "$pkgdir/usr/share/licenses/$pkgname"
+}


More information about the arch-commits mailing list