aboutsummaryrefslogtreecommitdiffstats
path: root/main/xcb-proto/APKBUILD
blob: e1035c71cf2d503e06ff5c8b855bff2dc120c8ca (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-proto
pkgver=1.13
pkgrel=2
pkgdesc="XML-XCB protocol descriptions"
url="https://xcb.freedesktop.org"
arch="noarch"
license="MIT"
depends=
makedepends="python3"
# no testsuite
options="!check"
source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"

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

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

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

sha512sums="002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7  xcb-proto-1.13.tar.bz2"