aboutsummaryrefslogtreecommitdiffstats
path: root/main/xmodmap/APKBUILD
blob: d3032112ae5510c83b13d037df37c89f5d80aef8 (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
37
38
39
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xmodmap
pkgver=1.0.9
pkgrel=1
pkgdesc="utility for modifying keymaps and pointer button mappings in X"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="libx11-dev"
install=""
subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build () {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	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"