void-packages/srcpkgs/evemu/template
2021-10-09 08:01:46 -04:00

29 lines
792 B
Bash

# Template file for 'evemu'
pkgname=evemu
version=2.7.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config python3 asciidoc xmlto"
makedepends="libevdev-devel"
short_desc="Kernel device emulation"
maintainer="Nathan Owens <ndowens@artixlinux.org>"
license="LGPL-3.0-only, MIT"
homepage="https://freedesktop.org/wiki/Evemu/"
distfiles=${FREEDESKTOP_SITE}/evemu/evemu-$version.tar.xz
checksum=78c9400d55eeeb5ab75161360543f9376438c4da4934cb34cdda5b46021ae379
post_install() {
sed -n '/Copyright/,/IN THE SOFTWARE/p' src/evemu.c >LICENSE
vlicense LICENSE
}
evemu-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}