mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-19 12:42:30 +02:00
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
|
|
pkgname=libinput
|
|
pkgver=1.15.5
|
|
pkgrel=0
|
|
pkgdesc="Library for handling input devices"
|
|
url="https://www.freedesktop.org/wiki/Software/libinput"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="eudev-dev libevdev-dev meson mtdev-dev"
|
|
checkdepends="diffutils bash"
|
|
subpackages="
|
|
$pkgname-dev
|
|
$pkgname-doc
|
|
$pkgname-libs
|
|
$pkgname-zsh-completion:zshcomp:noarch
|
|
"
|
|
source="https://freedesktop.org/software/libinput/libinput-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
meson \
|
|
--buildtype=plain \
|
|
--prefix=/usr \
|
|
--libdir=lib \
|
|
-Ddocumentation=false \
|
|
-Dlibwacom=false \
|
|
-Ddebug-gui=false \
|
|
-Dtests=false builddir/
|
|
ninja -C builddir/
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir/builddir"
|
|
ninja test
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" ninja -C builddir/ install
|
|
}
|
|
|
|
zshcomp() {
|
|
depends=""
|
|
pkgdesc="Zsh completions for $pkgname"
|
|
install_if="$pkgname=$pkgver-r$pkgrel zsh"
|
|
|
|
amove usr/share/zsh/site-functions
|
|
}
|
|
|
|
sha512sums="a0a3a325048841fc017e19d3bc5f5490605972ab9e2730dc5678bda7efb7a5b1fa6f531f3c8abd8393899ec383d8d2bcfd586eacee04fc1fbda0e02ba2af956a libinput-1.15.5.tar.xz"
|