38 lines
856 B
Bash
38 lines
856 B
Bash
#!/usr/bin/env bash
|
|
name='libinput'
|
|
release='7'
|
|
version='1.30.1'
|
|
url='https://gitlab.freedesktop.org/libinput/libinput'
|
|
description='Input device management and event handling library'
|
|
email='aliriza.keskin@pardus.org.tr'
|
|
maintainer='aliriza'
|
|
license=('GPLv3')
|
|
source=("https://gitlab.freedesktop.org/libinput/libinput/-/archive/$version/libinput-$version.tar.gz")
|
|
depends=(eudev mtdev libevdev)
|
|
makedepends=()
|
|
sha256sums=('4339a2b9cc96ede3c120dedaedc61e48ce567808c5229e66587525ea972ef617')
|
|
group=(dev.libs)
|
|
uses=()
|
|
uses_extra=(wacom)
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
-Dudev-dir=/lib64/udev \
|
|
-Dlibwacom=$(use_opt wacom true false) \
|
|
-Ddebug-gui=false \
|
|
-Dtests=false
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|
|
|