PKGBUILDs/community/xkeycaps/PKGBUILD

26 lines
800 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
pkgname=xkeycaps
pkgver=2.46
pkgrel=4
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')
source=(http://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.Z license.txt)
md5sums=('6792f828db6538f44f7696a8783b44ac' '6d44b50641d2e7898aebcc668d204751')
build() {
cd $srcdir/$pkgname-$pkgver
xmkmf || return 1
make MANPATH=/usr/share/man || return 1
make DESTDIR=$pkgdir install || return 1
make DESTDIR=$pkgdir MANPATH=/usr/share/man install.man || return 1
install -Dm644 ../license.txt \
$pkgdir/usr/share/licenses/$pkgname/license.txt
}