void-packages/srcpkgs/libfakekey/template

30 lines
819 B
Bash

# Template file for 'libfakekey'
pkgname=libfakekey
version=0.3
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libXtst-devel"
short_desc="X virtual keyboard library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.yoctoproject.org/tools-resources/projects/matchbox"
distfiles="https://git.yoctoproject.org/cgit/cgit.cgi/libfakekey/snapshot/libfakekey-${version}.tar.gz"
checksum=d282fa6481a5b85f71e36e8bad4cfa938cc8eaac4c42ffa27f9203ac634813f4
pre_configure() {
autoreconf -fi
}
libfakekey-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libXtst-devel"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}