# Maintainer: Andrew Sun # Contributor: orumin _basename=libinput pkgname="lib32-$_basename" pkgver=1.13.2 pkgrel=1 pkgdesc="Input device management and event handling library (32-bit)" url="https://www.freedesktop.org/wiki/Software/libinput/" arch=(x86_64) license=(custom:X11) depends=('lib32-mtdev' 'lib32-systemd' 'lib32-libevdev' 'lib32-libwacom' "$_basename") # upstream doesn't recommend building docs makedepends=('gcc-multilib' 'lib32-gtk3' 'meson') # 'doxygen' 'graphviz' 'python-sphinx' 'python-recommonmark' source=(https://freedesktop.org/software/$_basename/$_basename-$pkgver.tar.xz{,.sig}) sha512sums=('26f11c5274c26acc38b9b5729195010c0799a9563f1eb0e0cd67e323f8ed73b0fc8db8584ec8fdf1b726417f64c2daeb54832167079832626c8c1190fccf459f' 'SKIP') validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) 0 build() { export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' arch-meson $_basename-$pkgver build \ --libdir=/usr/lib32 \ -Dudev-dir=/usr/lib/udev \ -Dtests=false \ -Ddocumentation=false ninja -C build } package() { DESTDIR="$pkgdir" ninja -C build install rm -rf ${pkgdir}/usr/{bin,lib,share,include} }