void-packages/srcpkgs/libei/template

25 lines
769 B
Bash
Raw Normal View History

2023-09-23 14:44:08 +02:00
# Template file for 'libei'
pkgname=libei
version=1.1.0
revision=1
build_style=meson
configure_args="-Dtests=disabled"
hostmakedepends="pkg-config python3-attrs python3-Jinja2"
makedepends="elogind-devel"
short_desc="Library for Emulated Input"
maintainer="Emi Vasilek <emi.vasilek@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.freedesktop.org/libinput/libei"
distfiles="https://gitlab.freedesktop.org/libinput/libei/-/archive/${version}/libei-${version}.tar.gz"
checksum=23a6890ba1139249f5c9f6d33ce6be2ad04bd0236f339eeb62c7460cbd4932de
libei-devel_package() {
depends="elogind-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}