# $Id: PKGBUILD 114474 2014-07-01 16:34:08Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Stefan Husmann # Contributor: Patrick Leslie Polzer pkgname=xkeycaps pkgver=2.46 pkgrel=7 arch=('i686' 'x86_64') pkgdesc="XKeyCaps is a graphical front-end to xmodmap." url="http://www.jwz.org/xkeycaps/" license=('custom') depends=('libxaw') makedepends=('imake' 'xbitmaps') source=(http://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.Z license.txt) md5sums=('6792f828db6538f44f7696a8783b44ac' '6d44b50641d2e7898aebcc668d204751') build() { cd $srcdir/$pkgname-$pkgver xmkmf make MANPATH=/usr/share/man } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install make DESTDIR=$pkgdir MANPATH=/usr/share/man install.man install -Dm644 ../license.txt \ $pkgdir/usr/share/licenses/$pkgname/license.txt }