xvkbd: update to 4.0.

This commit is contained in:
Leah Neukirchen 2019-09-01 12:25:17 +02:00
parent 1e9bfd0022
commit bc748a4adf

View file

@ -1,6 +1,6 @@
# Template file for 'xvkbd'
pkgname=xvkbd
version=3.9
version=4.0
revision=1
build_style=gnu-configure
hostmakedepends="imake xorg-cf-files gccmakedep"
@ -10,11 +10,12 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://t-sato.in.coocan.jp/xvkbd/"
distfiles="http://t-sato.in.coocan.jp/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b81c37ddfb7b78993dad15d304f8fd78e540d57c0a72f7e3316fd45fba919a9d
checksum=eb54e440badc40299ba9a8f27fcea740cd3501310e8955651af7ade517a3ac82
nocross=yes # xmkmf broken
do_configure() {
xmkmf
sed -i 's/\$(DESTDIR) \$(SHAREDIR)/$(DESTDIR)$(SHAREDIR)/' Makefile
}
pre_build() {
export MODULE_CFLAGS="$CFLAGS"