void-packages/srcpkgs/xvkbd/template
Nathan Owens 5ce65bfa5c xvkbd: unmark x86_64-musl broken
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
Closes: #17360 [via git-merge-pr]
2019-12-13 11:14:29 +01:00

27 lines
817 B
Bash

# Template file for 'xvkbd'
pkgname=xvkbd
version=4.0
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://deb.debian.org/debian/pool/main/x/xvkbd/xvkbd_${version}.orig.tar.gz"
checksum=eb54e440badc40299ba9a8f27fcea740cd3501310e8955651af7ade517a3ac82
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
}