# Maintainer: Andrew Sun # Contributor: orumin _basename=libinput pkgname="lib32-$_basename" pkgver=1.14.3 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=('f01d1bd1b25b8060519575644597d35f0c89de5386d298441f440128ceee3e57549921a058adec31adc8b33dbdedf4c0bd12c76905a69f752859d3136e26336d' 'SKIP') validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) 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} }