# Maintainer: Andrew Sun # Contributor: orumin _basename=libinput pkgname="lib32-$_basename" pkgver=1.12.4 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=('lib32-gtk3' 'meson') # 'doxygen' 'graphviz' 'python-sphinx' 'python-recommonmark' source=(https://freedesktop.org/software/$_basename/$_basename-$pkgver.tar.xz{,.sig}) sha512sums=('4e43ed5213059a481e5a73549c8325e5729d08512c4f580b924d4338a1b69dabd77fb612bec418f294c1da96c738ce26e45f8de8fbc222ab1af71a1535b3240f' '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} }