summaryrefslogtreecommitdiff
path: root/user/xcb-util-cursor/APKBUILD
blob: 10f5c19e66590179309c8ec4321b376bc3204651 (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
35
36
37
38
39
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xcb-util-cursor
pkgver=0.1.5
pkgrel=0
pkgdesc="X C-language Binding - cursor library"
url="https://xcb.freedesktop.org/"
arch="all"
license="MIT"
depends=""
depends_dev="xcb-util-dev"
checkdepends="check-dev"
makedepends="$depends_dev m4 util-macros xcb-util-image-dev xcb-util-renderutil-dev"
subpackages="$pkgname-dev"
# TODO: temporarily fetching this tarball from x.org mirror. Maybe should
# change back to freedesktop.org once up-to-date tarballs are available there
source="https://www.x.org/releases/individual/lib/$pkgname-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="e2d14c3f0ab117524ba90d1a992b61717ccee04bc9e66c587a6a0f10571f15e89fc5db3413882ca7ce14ebc07b6b7b0a4ddecd59ba910e6ca654ea9b1c705ed5  xcb-util-cursor-0.1.5.tar.xz"