aboutsummaryrefslogtreecommitdiffstats
path: root/main/kbproto/APKBUILD
blob: 4d6a02f5e418bf29e7cd68e07ec3a59451fba161 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kbproto
pkgver=1.0.7
pkgrel=2
pkgdesc="X11 XKB extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="MIT"
depends=""
makedepends=""
source="http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="49f24bfd11ee4ef0de658a1f55bcfb4b3a1f7057d90137b899ea3d4ecc40cebde97926a3f4315ddca4ae28d32b2d15f16fda993296acffdb4c007d2f84a39a22  kbproto-1.0.7.tar.bz2"