aboutsummaryrefslogtreecommitdiffstats
path: root/main/kbproto/APKBUILD
blob: fe0291aca9fc440cb6d9202de1d32c53b314040f (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=0
pkgdesc="X11 XKB extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="MIT"
depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	cd "$_builddir"
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="94afc90c1f7bef4a27fdd59ece39c878  kbproto-1.0.7.tar.bz2"
sha256sums="f882210b76376e3fa006b11dbd890e56ec0942bc56e65d1249ff4af86f90b857  kbproto-1.0.7.tar.bz2"
sha512sums="49f24bfd11ee4ef0de658a1f55bcfb4b3a1f7057d90137b899ea3d4ecc40cebde97926a3f4315ddca4ae28d32b2d15f16fda993296acffdb4c007d2f84a39a22  kbproto-1.0.7.tar.bz2"