summaryrefslogtreecommitdiff
path: root/user/xcb-util-errors/APKBUILD
blob: d3cd98a1ee5e3fb7d65b6e42738415635923c95c (plain) (blame)
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
# Contributor:
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=xcb-util-errors
pkgver=1.0
pkgrel=0
pkgdesc="XCB utility library for readable X errors"
url="https://xcb.freedesktop.org/"
arch="all"
license="MIT"
depends=""
makedepends="automake autoconf xcb-util-dev"
subpackages="$pkgname-dev"
source="https://xcb.freedesktop.org/dist/xcb-util-errors-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="479b731b7056313955db9471d37416c4c9ab8c4574214fe20b3c0bcc1f57812fc343af6b0196814caaa6cc848dd120c70fab2f142902125cba63a8386d32179d  xcb-util-errors-1.0.tar.bz2"