void-packages/srcpkgs/xvkbd/template
2021-06-23 19:04:03 +07:00

27 lines
796 B
Bash

# Template file for 'xvkbd'
pkgname=xvkbd
version=4.1
revision=1
build_style=gnu-configure
hostmakedepends="imake xorg-cf-files gccmakedep"
makedepends="libXaw-devel libXaw3d-devel libXtst-devel"
short_desc="Virtual (graphical) keyboard program for X11"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="http://t-sato.in.coocan.jp/xvkbd/"
distfiles="http://t-sato.in.coocan.jp/xvkbd/xvkbd-$version.tar.gz"
checksum=952d07df0fe1e45286520b7c98b4fd00fd60dbf3e3e8ff61e12c259f76a3bef4
nocross=yes # xmkmf broken
do_configure() {
xmkmf
sed -i 's/\$(DESTDIR) \$(SHAREDIR)/$(DESTDIR)$(SHAREDIR)/' Makefile
}
pre_build() {
export MODULE_CFLAGS="$CFLAGS"
export LOCAL_LDFLAGS="$LDFLAGS"
}
post_install() {
rm ${DESTDIR}/usr/lib/X11/app-defaults
vman xvkbd.man xvkbd.1
}