summaryrefslogtreecommitdiff
path: root/community/xvkbd
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/xvkbd
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/xvkbd')
-rw-r--r--community/xvkbd/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/xvkbd/PKGBUILD b/community/xvkbd/PKGBUILD
new file mode 100644
index 000000000..b6384fd1d
--- /dev/null
+++ b/community/xvkbd/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 21233 2010-07-15 11:20:17Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Benjamin Andresen <benny@klapmuetz.org>
+# Contributor: Mikko Seppдlд <t-r-a-y@mbnet.fi>
+
+pkgname=xvkbd
+pkgver=3.2
+pkgrel=1
+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)
+md5sums=('1bce8d6c27e6e7df92ec09b414f82dad')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+# patch xvkbd.c <<EOF
+#diff xvkbd-2.8/xvkbd.c xvkbd-2.8.my/xvkbd.c
+#45a46
+#> #include <X11/extensions/XKB.h>
+#1988a1990
+#> XkbLockGroup(dpy, XkbUseCoreKbd, (shift_state & altgr_mask) ? 1 : 0);
+#EOF
+
+ xmkmf
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+
+ # fix
+ rm -f $pkgdir/usr/lib/X11/app-defaults && \
+ mkdir -p $pkgdir/usr/lib/X11 && \
+ mv $pkgdir/etc/X11/app-defaults $pkgdir/usr/lib/X11/ && \
+ rm -rf $pkgdir/etc/
+}