-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
37 lines (33 loc) · 1.03 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Amiad <[email protected]>
# Contributor: Paul Wilk <[email protected]>
# Contributor: Sergej Pupykin <[email protected]>
# Contributor: Benjamin Andresen <[email protected]>
# Contributor: Mikko Seppдlд <[email protected]>
pkgname=xvkbd-cli
pkgver=4.1
pkgrel=1
pkgdesc="virtual (NON-graphical) keyboard program for X Window System"
arch=('x86_64')
url="http://t-sato.in.coocan.jp/xvkbd/"
license=('GPL')
depends=('libxmu' 'glibc' 'libxt' 'libxtst' 'libxp' 'libxpm')
makedepends=('imake')
source=(http://t-sato.in.coocan.jp/xvkbd/xvkbd-$pkgver.tar.gz)
sha256sums=('952d07df0fe1e45286520b7c98b4fd00fd60dbf3e3e8ff61e12c259f76a3bef4')
pkgpre=xvkbd
build() {
cd $pkgpre-$pkgver
xmkmf
sed -i 's|#include <X11/Xaw/|#include <X11/Xaw3d/|' xvkbd.c
make
}
package() {
cd $pkgpre-$pkgver
mkdir -p "$pkgdir"/usr/share/X11
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/
}