smlinux/xorg/libinput/libinput.SMBuild

36 lines
862 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libinput
version=1.19.3
build=1sml
homepage="https://www.freedesktop.org/wiki/Software/libinput/"
download="https://freedesktop.org/software/libinput/libinput-$version.tar.xz"
desc="Input device management and event handling library"
requires="libevdev mtdev libwacom"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix=/usr \
-Ddocumentation=false \
-Dtests=false \
-Ddebug-gui=false
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
d86b483c043964dcc7075d0dd1e0cbdcc898629fb95555800e89edd2a4a6cdadccd953a072de368dfbc1acac3a2dfbe05e489b0a70315e07aa12547dc9b9909e libinput-1.19.3.tar.lz
"