aboutsummaryrefslogtreecommitdiffstats
path: root/main/xmodmap/APKBUILD
blob: 3c07cb531656f274446be5d7d786c16f5896561c (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
33
34
35
36
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xmodmap
pkgver=1.0.9
pkgrel=2
pkgdesc="utility for modifying keymaps and pointer button mappings in X"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check"  # No test suite.
depends=""
makedepends="libx11-dev util-macros"
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="723f02d3a5f98450554556205f0a9497  xmodmap-1.0.9.tar.bz2"
sha256sums="b7b0e5cc5f10d0fb6d2d6ea4f00c77e8ac0e847cc5a73be94cd86139ac4ac478  xmodmap-1.0.9.tar.bz2"
sha512sums="6e50f2ba072ec171bd3fc34f75b21c63f9834f3c0f1608c857f80a4b2c8a9696b03dde79f8342bf67504b759297bc24a64056a625d295a4f89dd31eb938400ac  xmodmap-1.0.9.tar.bz2"