# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Benjamin Andresen # Contributor: Mikko Seppдlд pkgname=xvkbd pkgver=3.0 pkgrel=3 pkgdesc="virtual (graphical) keyboard program for X Window System" arch=('i686' 'x86_64') url="http://homepage3.nifty.com/tsato/xvkbd/" license=('GPL') depends=('libxmu' 'xaw3d' 'glibc' 'libxt' 'libxtst' 'libxp') makedepends=('imake') source=(http://homepage3.nifty.com/tsato/xvkbd/xvkbd-$pkgver.tar.gz \ XVkbd-russian) md5sums=('72fd96feeb2a589b2b68e9fa387afb0b' '08b917bed411e306effe6a5122b42e20') build() { cd "$startdir/src/$pkgname-$pkgver" sed -i 's|norwegian,portuguese,slovene,spanish,swedish,swissgerman,turkish,uk,latin1|norwegian,portuguese,slovene,spanish,swedish,swissgerman,turkish,uk,latin1,russian|g' XVkbd-common.ad patch xvkbd.c < #include 1988a1990 > XkbLockGroup(dpy, XkbUseCoreKbd, (shift_state & altgr_mask) ? 1 : 0); EOF xmkmf make || return 1 make DESTDIR=$startdir/pkg install || return 1 # fix rm -f $startdir/pkg/usr/lib/X11/app-defaults && \ mkdir -p $startdir/pkg/usr/lib/X11 && \ mv $startdir/pkg/etc/X11/app-defaults $startdir/pkg/usr/lib/X11/ && \ rm -rf $startdir/pkg/etc/ && \ install -D -m 0644 $startdir/src/XVkbd-russian $startdir/pkg/usr/lib/X11/app-defaults/XVkbd-russian } # vim:set ts=2 sw=2 et: