28 lines
817 B
Bash
28 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
|
|
}
|