summaryrefslogtreecommitdiff
path: root/community/xkeycaps/PKGBUILD
blob: b62e5153ff0ff07d730b330171f29b7e50ab5da9 (plain)
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
# $Id: PKGBUILD 114474 2014-07-01 16:34:08Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>

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
}