# Maintainer: Andrew Sun # Contributor: orumin _basename=libinput pkgname="lib32-$_basename" pkgver=1.13.1 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=('a19deec802e704038df0901c103a82a3370f56e0299f4cc1b6aa84c1832a66fb638e6f9d0fa708b51df6c3b939cdc1271e4ff547c645c566be03dce0bc9ff7e0' '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} }