summaryrefslogtreecommitdiff
path: root/community/xvkbd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/xvkbd/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/xvkbd/PKGBUILD')
-rw-r--r--community/xvkbd/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/xvkbd/PKGBUILD b/community/xvkbd/PKGBUILD
new file mode 100644
index 000000000..2b27dc638
--- /dev/null
+++ b/community/xvkbd/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 94165 2013-07-15 11:03:13Z 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.5
+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' 'libxpm')
+makedepends=('imake')
+source=(http://homepage3.nifty.com/tsato/xvkbd/xvkbd-$pkgver.tar.gz)
+md5sums=('f7344982d985be925c7a708110e20497')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ xmkmf
+ sed -i 's|#include <X11/Xaw/|#include <X11/Xaw3d/|' xvkbd.c
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR=$pkgdir install
+ # 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/
+}