summaryrefslogtreecommitdiff
path: root/user/libxcursor/APKBUILD
blob: 857cc51144cf12bccbe1f20391d5fb66eb08089b (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxcursor
pkgver=1.1.15
pkgrel=1
pkgdesc="X cursor management library"
url="https://www.X.Org/"
arch="all"
license="MIT"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="libx11-dev libxfixes-dev libxrender-dev util-macros xorgproto-dev"
source="https://www.X.Org/releases/individual/lib/libXcursor-$pkgver.tar.bz2"
builddir="$srcdir"/libXcursor-$pkgver

# secfixes:
#   1.1.15-r0:
#     - CVE-2017-16612

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="53ad0fa2afd7b4cf1108b560e44ea71abdf5c55a18df243d7123942513589c927f5c105395f790d8769959e0129db54264e6aac7efd51a5f1aec270379b1f2f5  libXcursor-1.1.15.tar.bz2"