archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / xkeycaps / repos / community-x86_64 / PKGBUILD
bloba29aaf800afc96eefd332d9f250ea00b4cdd511e
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
5 pkgname=xkeycaps
6 pkgver=2.47
7 pkgrel=3
8 arch=('x86_64')
9 pkgdesc='A graphical front-end to xmodmap'
10 url="https://www.jwz.org/xkeycaps/"
11 license=('custom')
12 depends=('libxaw')
13 makedepends=('imake' 'xbitmaps')
14 source=(https://deb.debian.org/debian/pool/main/x/xkeycaps/xkeycaps_$pkgver.orig.tar.gz
15         license.txt)
16 sha512sums=('f5f5ecdf83c2bd86eb3d8b8a28b26af25a2dc9ff0a9c44091d8eb154d617b4373191a2e4479bb0e3025c023d6e5d785a088c64bc269c1c43431a3d2fc91c1a7e'
17             'dc07c0ff12bb103bcb42911977849c586364ba39cf171d3761c37e69131a933545d6b149b1ced8ff9fd9dd0dfc81bad9ac39e26c22c867fca38f85ccdff74220')
19 build() {
20   cd "$srcdir"/$pkgname-$pkgver
21   xmkmf
22   make MANPATH=/usr/share/man
25 package() {
26   cd "$srcdir"/$pkgname-$pkgver
27   make DESTDIR="$pkgdir" install
28   make DESTDIR="$pkgdir" MANPATH=/usr/share/man install.man
29   install -Dm644 ../license.txt \
30     "$pkgdir"/usr/share/licenses/$pkgname/license.txt