aboutsummaryrefslogtreecommitdiffstats
path: root/main/xcb-proto/APKBUILD
blob: 68d61e52e04ea59dcd3b3a007b107c3e744879ce (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=3
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"