compat-32/xorg-libevdev-32/Pkgfile

27 lines
650 B
Plaintext
Raw Normal View History

# Description: Wrapper library for evdev devices
2020-07-21 12:21:46 +02:00
# URL: https://xorg.freedesktop.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: xorg-libevdev
name=xorg-libevdev-32
2021-11-21 12:44:56 +01:00
version=1.12.0
2020-04-01 03:54:15 +02:00
release=1
source=(https://www.freedesktop.org/software/libevdev/libevdev-$version.tar.xz)
build() {
2021-11-21 12:44:56 +01:00
meson setup build libevdev-$version \
--prefix=/usr \
2021-11-21 12:44:56 +01:00
--libdir=/usr/lib32 \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D tests=disabled \
-D documentation=disabled
2021-11-21 12:44:56 +01:00
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/{bin,include,share}
}